diff options
author | 2022-10-19 21:51:42 +0530 | |
---|---|---|
committer | 2022-12-05 18:00:43 +0100 | |
commit | 82c0efd3cd5d4ecce028da75d29e3345535b3389 (patch) | |
tree | 2ed3c70b277ece4299f729ac7b6fd5fe4697201f /fs/btrfs/delayed-inode.c | |
parent | btrfs: sink gfp_t parameter to alloc_scrub_sector (diff) | |
download | wireguard-linux-82c0efd3cd5d4ecce028da75d29e3345535b3389.tar.xz wireguard-linux-82c0efd3cd5d4ecce028da75d29e3345535b3389.zip |
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 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions