aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2022-10-19 16:21:42 +0000
committerDavid Sterba <[email protected]>2022-12-05 17:00:43 +0000
commit82c0efd3cd5d4ecce028da75d29e3345535b3389 (patch)
tree2ed3c70b277ece4299f729ac7b6fd5fe4697201f /fs/btrfs/send.c
parentbtrfs: sink gfp_t parameter to alloc_scrub_sector (diff)
downloadkernel-82c0efd3cd5d4ecce028da75d29e3345535b3389.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/send.c')
0 files changed, 0 insertions, 0 deletions