OSDN Git Service

btrfs: add (the only possible) __exit annotation
authorDavid Sterba <dsterba@suse.com>
Mon, 19 Feb 2018 16:24:15 +0000 (17:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:39 +0000 (15:09 +0200)
commitffc5a3794f9779c1a09e18e6d75bb6cc22b37523
tree05b910833b1a690a4c29c8b9c6ba9479898d8377
parentccb0e7d1c1bc222966085550e27957c17138b629
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>
fs/btrfs/volumes.c
fs/btrfs/volumes.h