From: Al Viro Date: Wed, 22 Oct 2014 00:21:18 +0000 (-0400) Subject: btrfs: get rid of f_dentry use X-Git-Tag: v3.19-rc1~136^2~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ddb52f4fd2184c3405be4b09f7ac9b2bf47d4e61;p=linux.git btrfs: get rid of f_dentry use Signed-off-by: Al Viro --- diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 4399f0c3a4ce..080fe66c0349 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -5296,7 +5296,7 @@ long btrfs_ioctl(struct file *file, unsigned int ret = btrfs_start_delalloc_roots(root->fs_info, 0, -1); if (ret) return ret; - ret = btrfs_sync_fs(file->f_dentry->d_sb, 1); + ret = btrfs_sync_fs(file_inode(file)->i_sb, 1); /* * The transaction thread may want to do more work, * namely it pokes the cleaner ktread that will start