Btrfs: compat code fixes

The btrfs git kernel trees is used to build a standalone tree for
compiling against older kernels.  This commit makes the standalone tree
work with 2.6.27

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2008-11-20 10:22:27 -05:00
parent 79683f2d68
commit 4b4e25f2a6
8 changed files with 14 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ static inline struct dentry *d_obtain_alias(struct inode *inode)
# define __pagevec_lru_add_file __pagevec_lru_add
# define open_bdev_exclusive open_bdev_excl
# define close_bdev_exclusive(bdev, mode) close_bdev_excl(bdev)
typedef unsigned __bitwise__ fmode_t;
#endif