summaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-06-04 18:10:45 +0200
committerChris Mason <clm@fb.com>2014-09-17 13:37:11 -0700
commit3abdbd780e9d75f0648b8a502c3789857b1e92ce (patch)
tree4fbd0280a95299b7730f2b14ccfa17390595ca0a /fs/btrfs/super.c
parent57cdc8db21bf9cfa6b2e45310d56e74e263e8609 (diff)
downloadlwn-3abdbd780e9d75f0648b8a502c3789857b1e92ce.tar.gz
lwn-3abdbd780e9d75f0648b8a502c3789857b1e92ce.zip
btrfs: make close_ctree return void
There's no user of the return value and we can get rid of the comment in put_super. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index c4124de4435b..568ddc16119f 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -307,13 +307,7 @@ void __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function,
static void btrfs_put_super(struct super_block *sb)
{
- (void)close_ctree(btrfs_sb(sb)->tree_root);
- /* FIXME: need to fix VFS to return error? */
- /* AV: return it _where_? ->put_super() can be triggered by any number
- * of async events, up to and including delivery of SIGKILL to the
- * last process that kept it busy. Or segfault in the aforementioned
- * process... Whom would you report that to?
- */
+ close_ctree(btrfs_sb(sb)->tree_root);
}
enum {