diff options
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 7eb9a5412e2f..614176e52851 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c | |||
@@ -291,7 +291,7 @@ int btrfs_csum_truncate(struct btrfs_trans_handle *trans, | |||
291 | new_item_size = blocks * BTRFS_CRC32_SIZE; | 291 | new_item_size = blocks * BTRFS_CRC32_SIZE; |
292 | if (new_item_size >= btrfs_item_size_nr(leaf, slot)) | 292 | if (new_item_size >= btrfs_item_size_nr(leaf, slot)) |
293 | return 0; | 293 | return 0; |
294 | ret = btrfs_truncate_item(trans, root, path, new_item_size); | 294 | ret = btrfs_truncate_item(trans, root, path, new_item_size, 1); |
295 | BUG_ON(ret); | 295 | BUG_ON(ret); |
296 | return ret; | 296 | return ret; |
297 | } | 297 | } |