|
@@ -16,8 +16,6 @@
|
|
|
#ifndef _LINUX_JBD_H
|
|
|
#define _LINUX_JBD_H
|
|
|
|
|
|
-#if defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE) || !defined(__KERNEL__)
|
|
|
-
|
|
|
/* Allow this file to be included directly into e2fsprogs */
|
|
|
#ifndef __KERNEL__
|
|
|
#include "jfs_compat.h"
|
|
@@ -1083,19 +1081,4 @@ extern int jbd_blocks_per_page(struct inode *inode);
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
-#endif /* CONFIG_JBD || CONFIG_JBD_MODULE || !__KERNEL__ */
|
|
|
-
|
|
|
-/*
|
|
|
- * Compatibility no-ops which allow the kernel to compile without CONFIG_JBD
|
|
|
- * go here.
|
|
|
- */
|
|
|
-
|
|
|
-#if defined(__KERNEL__) && !(defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE))
|
|
|
-
|
|
|
-#define J_ASSERT(expr) do {} while (0)
|
|
|
-#define J_ASSERT_BH(bh, expr) do {} while (0)
|
|
|
-#define buffer_jbd(bh) 0
|
|
|
-#define journal_buffer_journal_lru(bh) 0
|
|
|
-
|
|
|
-#endif /* defined(__KERNEL__) && !defined(CONFIG_JBD) */
|
|
|
#endif /* _LINUX_JBD_H */
|