diff options
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 2d2c23ca7cbf..c3992b7b0c60 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c | |||
@@ -34,7 +34,7 @@ int btrfs_alloc_file_extent(struct btrfs_trans_handle *trans, | |||
34 | btrfs_set_file_extent_offset(item, 0); | 34 | btrfs_set_file_extent_offset(item, 0); |
35 | btrfs_set_file_extent_num_blocks(item, ins.offset); | 35 | btrfs_set_file_extent_num_blocks(item, ins.offset); |
36 | btrfs_set_file_extent_generation(item, trans->transid); | 36 | btrfs_set_file_extent_generation(item, trans->transid); |
37 | mark_buffer_dirty(path.nodes[0]); | 37 | btrfs_mark_buffer_dirty(path.nodes[0]); |
38 | *result = ins.objectid; | 38 | *result = ins.objectid; |
39 | btrfs_release_path(root, &path); | 39 | btrfs_release_path(root, &path); |
40 | return 0; | 40 | return 0; |
@@ -81,7 +81,7 @@ int btrfs_csum_file_block(struct btrfs_trans_handle *trans, | |||
81 | struct btrfs_csum_item); | 81 | struct btrfs_csum_item); |
82 | ret = 0; | 82 | ret = 0; |
83 | ret = btrfs_csum_data(root, data, len, item->csum); | 83 | ret = btrfs_csum_data(root, data, len, item->csum); |
84 | mark_buffer_dirty(path.nodes[0]); | 84 | btrfs_mark_buffer_dirty(path.nodes[0]); |
85 | fail: | 85 | fail: |
86 | btrfs_release_path(root, &path); | 86 | btrfs_release_path(root, &path); |
87 | return ret; | 87 | return ret; |