summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2008-02-06 10:40:19 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 19:41:21 +0100
commitd8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff (patch)
treeab50efee030dc2caff1fd1ae1f94fcb13f5bb635 /include
parentext3: remove unused code from ext3_find_entry() (diff)
downloadlinux-d8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff.tar.xz
linux-d8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/jbd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index 59b94c3e6c24..b18fd3b9b835 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -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.