aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2008-02-06 01:40:19 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 10:41:21 -0800
commitd8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff (patch)
treeab50efee030dc2caff1fd1ae1f94fcb13f5bb635
parente1d7ae24a23f1f366d6c5408f1ad11db69a748c6 (diff)
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>
-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 59b94c3e6c2..b18fd3b9b83 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.