Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286028
b: refs/heads/master
c: d22ca7d
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 9, 2012
1 parent 300b066 commit f4634ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: be7e0950def403e90b5295ff2192c39967bf2aec
refs/heads/master: d22ca7de770e2a683eac000ba4db5a95e2f4c969
8 changes: 2 additions & 6 deletions trunk/fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,6 @@ 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 Expand Up @@ -1215,12 +1214,9 @@ static int btrfs_statfs(struct dentry *dentry, struct kstatfs *buf)

static void btrfs_kill_super(struct super_block *sb)
{
struct btrfs_fs_info *fs_info = NULL;
if (sb->s_root)
fs_info = btrfs_sb(sb)->fs_info;
struct btrfs_fs_info *fs_info = btrfs_sb(sb)->fs_info;
kill_anon_super(sb);
if (fs_info)
free_fs_info(fs_info);
free_fs_info(fs_info);
}

static struct file_system_type btrfs_fs_type = {
Expand Down

0 comments on commit f4634ba

Please sign in to comment.