[PATCH] hide kernel only code in linux/jbd.h

From: Olaf Hering
Date: Fri Jan 25 2008 - 13:03:43 EST



Move a few kernel only stuff into __KERNEL__

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
include/linux/jbd.h | 2 --
1 file changed, 2 deletions(-)

--- 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, s

#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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/