Skip to content

Commit

Permalink
btrfs: Drop __exit attribute on btrfs_exit_compress
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alchark authored and chrismason-xx committed Feb 6, 2011
1 parent 554233a commit 8e4eef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/compression.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8e4eef7

Please sign in to comment.