Revert "GFS2: Fix use-after-free bug on umount"

This reverts commit 78802499912f1ba31ce83a94c55b5a980f250a43.

The original patch is causing problems in relation to order of
operations at umount in relation to jdata files. I need to fix
this a different way.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
Steven Whitehouse
2008-12-19 15:32:06 +00:00
parent 7ed122e42c
commit fefc03bfed
6 changed files with 114 additions and 94 deletions

View File

@@ -1547,9 +1547,8 @@ static void clear_glock(struct gfs2_glock *gl)
* Called when unmounting the filesystem.
*/
void gfs2_gl_hash_clear(struct super_block *sb)
void gfs2_gl_hash_clear(struct gfs2_sbd *sdp)
{
struct gfs2_sbd *sdp = sb->s_fs_info;
unsigned long t;
unsigned int x;
int cont;