]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ddb5c129b9039ffd6d775d25403709198afe8d9
tree0a0b479b86fe09d369ce24e532e8051894f6fadd
parent8d03e63b02baa6c6ecf015ffa48543c02a266034
btrfs: remove struct find_free_extent.ram_bytes

This hasn't been used since it was first introduced in commit
644c80b6ed62 ("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