Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286027
b: refs/heads/master
c: be7e095
h: refs/heads/master
i:
  286025: 26c1223
  286023: b8ab933
v: v3
  • Loading branch information
Al Viro committed Jan 9, 2012
1 parent c82f184 commit 300b066
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29db78aa0ac82319b764b87a1c5030d74523e296
refs/heads/master: be7e0950def403e90b5295ff2192c39967bf2aec
2 changes: 0 additions & 2 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,6 @@ int open_ctree(struct super_block *sb,
up_read(&fs_info->cleanup_work_sem);
if (err) {
close_ctree(tree_root);
free_fs_info(fs_info);
return err;
}
}
Expand Down Expand Up @@ -2478,7 +2477,6 @@ int open_ctree(struct super_block *sb,
cleanup_srcu_struct(&fs_info->subvol_srcu);
fail:
btrfs_close_devices(fs_info->fs_devices);
free_fs_info(fs_info);
return err;

recovery_tree_root:
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,6 @@ static int btrfs_fill_super(struct super_block *sb,

fail_close:
close_ctree(tree_root);
free_fs_info(fs_info);
return err;
}

Expand Down Expand Up @@ -947,6 +946,7 @@ static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags,
error = btrfs_fill_super(s, fs_devices, data,
flags & MS_SILENT ? 1 : 0);
if (error) {
free_fs_info(fs_info);
deactivate_locked_super(s);
return ERR_PTR(error);
}
Expand Down

0 comments on commit 300b066

Please sign in to comment.