]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30233fc11311651666829be7f8fdf04d843ea75a
tree05b910833b1a690a4c29c8b9c6ba9479898d8377
parentdcb6126f540af33e5335c44db08c0833e839616f
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