summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-10 19:35:41 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:53 +0100
commit5f4b32e94aabaff1b86ba4ed701f01689d59bc90 (patch)
treee7656e9af6ef89f6cd4e2b47a52a387143129ec1 /fs/btrfs/tree-log.c
parentbtrfs: Make btrfs_commit_inode_delayed_inode take btrfs_inode (diff)
downloadlinux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.tar.xz
linux-5f4b32e94aabaff1b86ba4ed701f01689d59bc90.zip
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 '')
-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));