diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-12-19 10:43:05 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-05 02:39:19 -0500 |
commit | 88a19ad066c1aab2f9713beb670525fcc06e1c09 (patch) | |
tree | 2d967c8f553a9dd862dc92fb085e5af1be859956 /fs/gfs2/ops_super.c | |
parent | fefc03bfedeff2002f14e848ecb7c0cd77ee0b15 (diff) |
GFS2: Fix use-after-free bug on umount (try #2)
This should solve the issue with the previous attempt at fixing this.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index 08837a728635..777783deddcb 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -182,7 +182,6 @@ static void gfs2_put_super(struct super_block *sb) | |||
182 | 182 | ||
183 | /* At this point, we're through participating in the lockspace */ | 183 | /* At this point, we're through participating in the lockspace */ |
184 | gfs2_sys_fs_del(sdp); | 184 | gfs2_sys_fs_del(sdp); |
185 | kfree(sdp); | ||
186 | } | 185 | } |
187 | 186 | ||
188 | /** | 187 | /** |