Messages in this thread Patch in this message | | | Date | Fri, 25 Jan 2008 19:03:49 +0100 | From | Olaf Hering <> | Subject | [PATCH] hide kernel only code in linux/jbd.h |
| |
Move a few kernel only stuff into __KERNEL__
Signed-off-by: Olaf Hering <olaf@aepfle.de>
--- 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.
| |