From: Olaf Hering Date: Wed, 6 Feb 2008 09:40:19 +0000 (-0800) Subject: jbd.h: hide kernel only code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8fd66aaea7fe3e4f1ea044a563f129e3b9f05ff;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 59b94c3e6c24..b18fd3b9b835 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.