summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2026-01-06 15:30:28 +0300
committerDavid Sterba <dsterba@suse.com>2026-02-03 09:51:42 +0300
commite582f22030a7a59d4d0bb2881371df259d4a2ecd (patch)
treee59bf4e94cd93307ae484ca88f1c5b5f8c45bc3d /include/linux
parent59615e2c1f63dfd65f74c166e803873d3362e51a (diff)
downloadlinux-e582f22030a7a59d4d0bb2881371df259d4a2ecd.tar.xz
btrfs: split btrfs_fs_closing() and change return type to bool
There are two tests in btrfs_fs_closing() but checking the BTRFS_FS_CLOSING_DONE bit is done only in one place load_extent_tree_free(). As this is an inline we can reduce size of the generated code. The types can be also changed to bool as this becomes a simple condition. text data bss dec hex filename 1674006 146704 15560 1836270 1c04ee pre/btrfs.ko 1673772 146704 15560 1836036 1c0404 post/btrfs.ko DELTA: -234 Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions