summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dir-item.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 14:51:10 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:50 +0200
commitc71dd88007bdc8ba62e99439d93050b0778f101a (patch)
treed0b9ba2dfae830119a6a1ae8ad97691b2ddae78c /fs/btrfs/dir-item.c
parentbtrfs: remove unused parameter fs_info from btrfs_truncate_item (diff)
downloadlinux-c71dd88007bdc8ba62e99439d93050b0778f101a.tar.xz
linux-c71dd88007bdc8ba62e99439d93050b0778f101a.zip
btrfs: remove unused parameter fs_info from btrfs_extend_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r--fs/btrfs/dir-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c
index 2120b61f61b8..863367c2c620 100644
--- a/fs/btrfs/dir-item.c
+++ b/fs/btrfs/dir-item.c
@@ -36,7 +36,7 @@ static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle
di = btrfs_match_dir_item_name(fs_info, path, name, name_len);
if (di)
return ERR_PTR(-EEXIST);
- btrfs_extend_item(fs_info, path, data_size);
+ btrfs_extend_item(path, data_size);
} else if (ret < 0)
return ERR_PTR(ret);
WARN_ON(ret > 0);