diff options
author | Anand Jain <anand.jain@oracle.com> | 2022-10-19 21:51:42 +0530 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:43 +0100 |
commit | 82c0efd3cd5d4ecce028da75d29e3345535b3389 (patch) | |
tree | 2ed3c70b277ece4299f729ac7b6fd5fe4697201f /mm/mm_slot.h | |
parent | 02bc392798f9bf8105d50b2fec44b5b2e3c80d47 (diff) | |
download | linux-82c0efd3cd5d4ecce028da75d29e3345535b3389.tar.bz2 |
btrfs: merge module cleanup sequence to one helper
The module exit function exit_btrfs_fs() is duplicating a section of code
in init_btrfs_fs(). Add a helper to remove the duplicated code. Due
to the init/exit section requirements the function must be inline and
not a plain static as it could cause section mismatch.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mm/mm_slot.h')
0 files changed, 0 insertions, 0 deletions