From: Alexey Charkov Date: Wed, 2 Feb 2011 21:15:35 +0000 (+0000) Subject: btrfs: Drop __exit attribute on btrfs_exit_compress X-Git-Tag: firefly_0821_release~7613^2~2263^2~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8e4eef7a60eeca0fe7503e5cbd3b24ff4941c732;p=firefly-linux-kernel-4.4.55.git btrfs: Drop __exit attribute on btrfs_exit_compress As this function is called in some error paths while not removing the module, the __exit attribute prevents the kernel image from linking when btrfs is compiled in statically. Signed-off-by: Alexey Charkov Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 3a932f183da1..4d2110eafe29 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -921,7 +921,7 @@ int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, return ret; } -void __exit btrfs_exit_compress(void) +void btrfs_exit_compress(void) { free_workspaces(); }