diff options
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 5040b71f1900..926a0b287a7d 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c | |||
@@ -333,7 +333,7 @@ struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, | |||
333 | leaf = path->nodes[0]; | 333 | leaf = path->nodes[0]; |
334 | dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); | 334 | dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); |
335 | total_len = btrfs_item_size_nr(leaf, path->slots[0]); | 335 | total_len = btrfs_item_size_nr(leaf, path->slots[0]); |
336 | while(cur < total_len) { | 336 | while (cur < total_len) { |
337 | this_len = sizeof(*dir_item) + | 337 | this_len = sizeof(*dir_item) + |
338 | btrfs_dir_name_len(leaf, dir_item) + | 338 | btrfs_dir_name_len(leaf, dir_item) + |
339 | btrfs_dir_data_len(leaf, dir_item); | 339 | btrfs_dir_data_len(leaf, dir_item); |