diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-22 02:21:18 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 19:01:21 +0100 |
commit | ddb52f4fd2184c3405be4b09f7ac9b2bf47d4e61 (patch) | |
tree | 54bde3e48ba822e02f8d66fbfd0f12ff3b3e4426 /fs/btrfs/ioctl.c | |
parent | nfsd/nfsctl.c: new helper (diff) | |
download | linux-ddb52f4fd2184c3405be4b09f7ac9b2bf47d4e61.tar.xz linux-ddb52f4fd2184c3405be4b09f7ac9b2bf47d4e61.zip |
btrfs: get rid of f_dentry use
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |