projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
554233a
)
btrfs: Drop __exit attribute on btrfs_exit_compress
author
Alexey Charkov
<
[email protected]
>
Wed, 2 Feb 2011 21:15:35 +0000
(21:15 +0000)
committer
Chris Mason
<
[email protected]
>
Sun, 6 Feb 2011 12:19:19 +0000
(07:19 -0500)
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 <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/compression.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/compression.c
b/fs/btrfs/compression.c
index 3a932f183da14e90b9714bed91c49b2563be05a3..4d2110eafe2927e455e1e6a107019d7c2b483676 100644
(file)
--- 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();
}