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:
Olaf Hering 2008-02-06 01:40:19 -08:00 committed by Linus Torvalds
parent e1d7ae24a2
commit d8fd66aaea
1 changed files with 0 additions and 2 deletions

View File

@ -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.