]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
btrfs: get rid of f_dentry use
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 22 Oct 2014 00:21:18 +0000 (20:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 18:01:21 +0000 (13:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/ioctl.c

index 4399f0c3a4ce1c6a08cfa81f2720f27a7138eea7..080fe66c03496ba34ee2ece2393e3f7059fb6b2c 100644 (file)
@@ -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