Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14639
b: refs/heads/master
c: 1778d55
h: refs/heads/master
i:
  14637: 09b268d
  14635: bcfb347
  14631: a9944c6
  14623: 80d473d
v: v3
  • Loading branch information
Linus Torvalds committed Nov 23, 2005
1 parent fb65ee0 commit 8b84283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac3461ad632e86e7debd871776683c05ef3ba4c6
refs/heads/master: 1778d55edb62753a92b979fa57072c2e1ff3d062
17 changes: 0 additions & 17 deletions trunk/include/linux/jbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 */

0 comments on commit 8b84283

Please sign in to comment.