#ifndef LOCKME_H #define LOCKME_H #include #include "die.h" static inline void xlockme(void) { if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) panic("Cannot lock pages!\n"); } static inline void xunlockme(void) { munlockall(); } #endif /* LOCKME_H */ it.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-04-06 09:20:36 +1000
committerDave Chinner <david@fromorbit.com>2016-04-06 09:20:36 +1000
commit710b1e2c2948c1e5d0499def5273ecbc6472342d (patch)
tree824c3a870523ab88faf0d2a5dcfe4ddc4e12c895
parent253f4911f297b83745938b7f2c5649b94730b002 (diff)
xfs: remove transaction types
These aren't used for CIL-style logging and can be dropped. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>