aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-12-02 09:54:17 -0500
committerChris Mason <chris.mason@oracle.com>2008-12-02 09:54:17 -0500
commitb2950863c61bc24cf0f63bc05947d9d50663c4c0 (patch)
tree3005a034713fe86db2d64ab1b21fe8762f6a4b0c /fs/btrfs/super.c
parent1ffa4f426c002161b7dbd58b297f5d0680e7dd6a (diff)
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 1975ea273dc3..93a21c77064a 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -647,7 +647,7 @@ static int btrfs_interface_init(void)
647 return misc_register(&btrfs_misc); 647 return misc_register(&btrfs_misc);
648} 648}
649 649
650void btrfs_interface_exit(void) 650static void btrfs_interface_exit(void)
651{ 651{
652 if (misc_deregister(&btrfs_misc) < 0) 652 if (misc_deregister(&btrfs_misc) < 0)
653 printk("misc_deregister failed for control device"); 653 printk("misc_deregister failed for control device");