forked from luck/tmp_suning_uos_patched
jbd.h: hide kernel only code
Move a few kernel-only things into __KERNEL__. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e1d7ae24a2
commit
d8fd66aaea
@ -33,7 +33,6 @@
|
||||
#include <linux/lockdep.h>
|
||||
|
||||
#include <asm/semaphore.h>
|
||||
#endif
|
||||
|
||||
#define journal_oom_retry 1
|
||||
|
||||
@ -84,7 +83,6 @@ static inline void jbd_free(void *ptr, size_t size)
|
||||
|
||||
#define JFS_MIN_JOURNAL_BLOCKS 1024
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/**
|
||||
* typedef handle_t - The handle_t type represents a single atomic update being performed by some process.
|
||||
|
Loading…
Reference in New Issue
Block a user