btrfs: reduce parameters of btrfs_pin_reserved_extent
authorDavid Sterba <dsterba@suse.com>
Thu, 7 Sep 2023 23:09:29 +0000 (01:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:04 +0000 (16:44 +0200)
commitf863c50277c57cdbd6b0d1bbddb2b19a25016151
treefa8b2463b018086b986c64366f4754f5d860a38a
parent203f6a8772fc631a946525decb5df6d98da3730d
btrfs: reduce parameters of btrfs_pin_reserved_extent

There is only one caller of btrfs_pin_reserved_extent that expands the
parameters to extent buffer members. We can simply pass the extent
buffer instead.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/extent-tree.h
fs/btrfs/tree-log.c