Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157137
b: refs/heads/master
c: 1b5ab3e
h: refs/heads/master
i:
  157135: c895775
v: v3
  • Loading branch information
Abhishek Kulkarni authored and Eric Van Hensbergen committed Aug 17, 2009
1 parent 0955207 commit 9903432
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: 4f4038328da5eb9cc237b51d3fe68138fd3fea14
refs/heads/master: 1b5ab3e86712b6be38ebbe0d821387c1d8f91d7c
11 changes: 7 additions & 4 deletions trunk/fs/9p/vfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,

P9_DPRINTK(P9_DEBUG_VFS, " \n");

st = NULL;
v9ses = kzalloc(sizeof(struct v9fs_session_info), GFP_KERNEL);
if (!v9ses)
return -ENOMEM;
Expand Down Expand Up @@ -173,10 +172,8 @@ P9_DPRINTK(P9_DEBUG_VFS, " simple set mount, return 0\n");
simple_set_mnt(mnt, sb);
return 0;

release_sb:
deactivate_locked_super(sb);

free_stat:
p9stat_free(st);
kfree(st);

clunk_fid:
Expand All @@ -185,7 +182,12 @@ P9_DPRINTK(P9_DEBUG_VFS, " simple set mount, return 0\n");
close_session:
v9fs_session_close(v9ses);
kfree(v9ses);
return retval;

release_sb:
p9stat_free(st);
kfree(st);
deactivate_locked_super(sb);
return retval;
}

Expand All @@ -207,6 +209,7 @@ static void v9fs_kill_super(struct super_block *s)

v9fs_session_close(v9ses);
kfree(v9ses);
s->s_fs_info = NULL;
P9_DPRINTK(P9_DEBUG_VFS, "exiting kill_super\n");
}

Expand Down

0 comments on commit 9903432

Please sign in to comment.