summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-01 15:57:51 -0400
committerChris Mason <chris.mason@fusionio.com>2013-11-15 09:18:14 -0500
commit54563d41a58be77e9bd9ef7af1ea4026cf0e7e07 (patch)
tree5aedb277d3ed8e43f42af1077ebc72699f4d44b1 /fs/btrfs/ctree.h
parent46e0f66a0cf9e1fe25bfdcf4a60c08aface85998 (diff)
downloadop-kernel-dev-54563d41a58be77e9bd9ef7af1ea4026cf0e7e07.zip
op-kernel-dev-54563d41a58be77e9bd9ef7af1ea4026cf0e7e07.tar.gz
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index aea4433..f9aeb27 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) &&
OpenPOWER on IntegriCloud