aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
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 02d802cdd59b..7efc0470abf1 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -118,7 +118,7 @@ int btrfs_writepage_io_hook(struct page *page, u64 start, u64 end)
118 trans = btrfs_start_transaction(root, 1); 118 trans = btrfs_start_transaction(root, 1);
119 btrfs_set_trans_block_group(trans, inode); 119 btrfs_set_trans_block_group(trans, inode);
120 kaddr = kmap(page); 120 kaddr = kmap(page);
121 btrfs_csum_file_block(trans, root, inode->i_ino, 121 btrfs_csum_file_block(trans, root, inode, inode->i_ino,
122 start, kaddr + offset, end - start + 1); 122 start, kaddr + offset, end - start + 1);
123 kunmap(page); 123 kunmap(page);
124 ret = btrfs_end_transaction(trans, root); 124 ret = btrfs_end_transaction(trans, root);