mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
btrfs: get rid of f_dentry use
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
244c7d444b
commit
ddb52f4fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue