btrfs: remove struct find_free_extent.ram_bytes
authorOmar Sandoval <osandov@fb.com>
Tue, 3 Dec 2019 01:34:25 +0000 (17:34 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 20 Jan 2020 15:40:55 +0000 (16:40 +0100)
commit95690e58e1220e99e2a3ec9d5ebe7341fcc96745
tree0a0b479b86fe09d369ce24e532e8051894f6fadd
parentc8b04030c5ec006e161969d77c07fb03a8b67112
btrfs: remove struct find_free_extent.ram_bytes

This hasn't been used since it was first introduced in commit
b4bd745d1230 ("btrfs: Introduce find_free_extent_ctl structure for later
rework"). Passing that to btrfs_add_reserved_bytes in find_free_extent
is not strictly necessary and using the local ram_bytes instead seems
cleaner.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c