Btrfs: make things static and include the right headers
Shut up various sparse warnings about symbols that should be either static or have their declarations in scope. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:

committed by
Chris Mason

parent
1ffa4f426c
commit
b2950863c6
@@ -647,7 +647,7 @@ static int btrfs_interface_init(void)
|
||||
return misc_register(&btrfs_misc);
|
||||
}
|
||||
|
||||
void btrfs_interface_exit(void)
|
||||
static void btrfs_interface_exit(void)
|
||||
{
|
||||
if (misc_deregister(&btrfs_misc) < 0)
|
||||
printk("misc_deregister failed for control device");
|
||||
|
Reference in New Issue
Block a user