diff options
author | Alexey Charkov <alchark@gmail.com> | 2011-02-02 16:15:35 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-06 07:19:19 -0500 |
commit | 8e4eef7a60eeca0fe7503e5cbd3b24ff4941c732 (patch) | |
tree | 63c578ff52407f073f89342780a48c95b17ac1ea /fs | |
parent | 554233a6e0e8557e8e81e54cc70628d101291122 (diff) |
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 <alchark@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/compression.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
921 | return ret; | 921 | return ret; |
922 | } | 922 | } |
923 | 923 | ||
924 | void __exit btrfs_exit_compress(void) | 924 | void btrfs_exit_compress(void) |
925 | { | 925 | { |
926 | free_workspaces(); | 926 | free_workspaces(); |
927 | } | 927 | } |