btrfs: remove unused parameter fs_info from btrfs_truncate_item
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -188,8 +188,7 @@ int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
|
||||
btrfs_extend_item(fs_info, path,
|
||||
size - old_data_len);
|
||||
else if (size < old_data_len)
|
||||
btrfs_truncate_item(fs_info, path,
|
||||
data_size, 1);
|
||||
btrfs_truncate_item(path, data_size, 1);
|
||||
} else {
|
||||
/* There are other xattrs packed in the same item. */
|
||||
ret = btrfs_delete_one_dir_name(trans, root, path, di);
|
||||
|
Reference in New Issue
Block a user