From: Olaf Hering Date: Wed, 6 Feb 2008 09:40:19 +0000 (-0800) Subject: jbd.h: hide kernel only code X-Git-Tag: v2.6.25-rc1~523 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff;p=linux-2.6-omap-h63xx.git 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 --- 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 #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.