summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-02-19 11:24:15 -0500
committerDavid Sterba <dsterba@suse.com>2018-03-26 09:09:39 -0400
commitffc5a3794f9779c1a09e18e6d75bb6cc22b37523 (patch)
tree05b910833b1a690a4c29c8b9c6ba9479898d8377 /fs/btrfs/volumes.h
parentccb0e7d1c1bc222966085550e27957c17138b629 (diff)
btrfs: add (the only possible) __exit annotation
Recently, the __init annotations have been added. There's unfortunatelly only one case where we can add __exit, because most of the cleanup helpers are also called from the __init phase. As the __exit annotated functions get discarded completely for a built-in code, we'd miss them from the init phase. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index d110fb03ec0d..d28f5745fee2 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -436,7 +436,7 @@ struct btrfs_device *btrfs_alloc_device(struct btrfs_fs_info *fs_info,
436 const u8 *uuid); 436 const u8 *uuid);
437int btrfs_rm_device(struct btrfs_fs_info *fs_info, 437int btrfs_rm_device(struct btrfs_fs_info *fs_info,
438 const char *device_path, u64 devid); 438 const char *device_path, u64 devid);
439void btrfs_cleanup_fs_uuids(void); 439void __exit btrfs_cleanup_fs_uuids(void);
440int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len); 440int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len);
441int btrfs_grow_device(struct btrfs_trans_handle *trans, 441int btrfs_grow_device(struct btrfs_trans_handle *trans,
442 struct btrfs_device *device, u64 new_size); 442 struct btrfs_device *device, u64 new_size);