summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-10 20:35:40 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:53 +0100
commitaa79021fde63450e982c2e2c08a8f2f31671d5d8 (patch)
tree99a2c0c22346e4863ee241c95f64f32bb8286315 /fs/btrfs/inode.c
parentf48d1cf59ca49d898d1c96fa480eeeeabeaa42be (diff)
downloadlinux-stable-aa79021fde63450e982c2e2c08a8f2f31671d5d8.tar.gz
linux-stable-aa79021fde63450e982c2e2c08a8f2f31671d5d8.tar.bz2
linux-stable-aa79021fde63450e982c2e2c08a8f2f31671d5d8.zip
btrfs: Make btrfs_commit_inode_delayed_inode take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index f63fe82ca28b..26209403fcc2 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -5270,7 +5270,7 @@ void btrfs_evict_inode(struct inode *inode)
goto no_delete;
}
- ret = btrfs_commit_inode_delayed_inode(inode);
+ ret = btrfs_commit_inode_delayed_inode(BTRFS_I(inode));
if (ret) {
btrfs_orphan_del(NULL, inode);
goto no_delete;