diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-01 15:57:51 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-15 09:18:14 -0500 |
commit | 54563d41a58be77e9bd9ef7af1ea4026cf0e7e07 (patch) | |
tree | 5aedb277d3ed8e43f42af1077ebc72699f4d44b1 /fs/btrfs/ctree.h | |
parent | 46e0f66a0cf9e1fe25bfdcf4a60c08aface85998 (diff) | |
download | linux-54563d41a58be77e9bd9ef7af1ea4026cf0e7e07.tar.bz2 |
btrfs: get rid of fdentry()
3 of 4 callers actually want file_inode()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index aea4433081dc..f9aeb2759a64 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3111,11 +3111,6 @@ static inline u32 btrfs_level_size(struct btrfs_root *root, int level) ((unsigned long)(btrfs_leaf_data(leaf) + \ btrfs_item_offset_nr(leaf, slot))) -static inline struct dentry *fdentry(struct file *file) -{ - return file->f_path.dentry; -} - static inline bool btrfs_mixed_space_info(struct btrfs_space_info *space_info) { return ((space_info->flags & BTRFS_BLOCK_GROUP_METADATA) && |