summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-10 21:35:41 +0300
committerDavid Sterba <dsterba@suse.com>2017-02-14 17:50:53 +0300
commit5f4b32e94aabaff1b86ba4ed701f01689d59bc90 (patch)
treee7656e9af6ef89f6cd4e2b47a52a387143129ec1 /fs/btrfs/tree-log.c
parentaa79021fde63450e982c2e2c08a8f2f31671d5d8 (diff)
downloadlinux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.tar.xz
btrfs: Make btrfs_commit_inode_delayed_items 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/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 85186fbee0ec..b814cd7bbe70 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -4656,7 +4656,7 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,
*/
if (S_ISDIR(inode->i_mode) ||
BTRFS_I(inode)->generation > fs_info->last_trans_committed)
- ret = btrfs_commit_inode_delayed_items(trans, inode);
+ ret = btrfs_commit_inode_delayed_items(trans, BTRFS_I(inode));
else
ret = btrfs_commit_inode_delayed_inode(BTRFS_I(inode));