From d8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 6 Feb 2008 01:40:19 -0800 Subject: [PATCH] jbd.h: hide kernel only code Move a few kernel-only things into __KERNEL__. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/jbd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/jbd.h b/include/linux/jbd.h index 59b94c3..b18fd3b 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h @@ -33,7 +33,6 @@ #include #include -#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. -- 2.7.4