diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-20 10:22:27 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-20 10:22:27 -0500 |
commit | 4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04 (patch) | |
tree | b4417e03a187efd6a88da75a41a94020a2bb76ac /fs/btrfs/compat.h | |
parent | 79683f2d685cfb6ef9c97c5194e3ce3319e80cac (diff) |
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>
Diffstat (limited to 'fs/btrfs/compat.h')
-rw-r--r-- | fs/btrfs/compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/compat.h b/fs/btrfs/compat.h index dd1defdbfa36..75e4426d6fbb 100644 --- a/fs/btrfs/compat.h +++ b/fs/btrfs/compat.h | |||
@@ -25,6 +25,7 @@ static inline struct dentry *d_obtain_alias(struct inode *inode) | |||
25 | # define __pagevec_lru_add_file __pagevec_lru_add | 25 | # define __pagevec_lru_add_file __pagevec_lru_add |
26 | # define open_bdev_exclusive open_bdev_excl | 26 | # define open_bdev_exclusive open_bdev_excl |
27 | # define close_bdev_exclusive(bdev, mode) close_bdev_excl(bdev) | 27 | # define close_bdev_exclusive(bdev, mode) close_bdev_excl(bdev) |
28 | typedef unsigned __bitwise__ fmode_t; | ||
28 | #endif | 29 | #endif |
29 | 30 | ||
30 | 31 | ||