aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-12-19 10:32:06 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 02:39:18 -0500
commitfefc03bfedeff2002f14e848ecb7c0cd77ee0b15 (patch)
tree830ec1d36b8688a70580e8c5c18ac5f40015448f /fs/gfs2/glock.c
parent7ed122e42c72b3e4531f8b4a9f72159e8303ac15 (diff)
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>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 5eae62e7f778..6e298b070117 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1547,9 +1547,8 @@ static void clear_glock(struct gfs2_glock *gl)
1547 * Called when unmounting the filesystem. 1547 * Called when unmounting the filesystem.
1548 */ 1548 */
1549 1549
1550void gfs2_gl_hash_clear(struct super_block *sb) 1550void gfs2_gl_hash_clear(struct gfs2_sbd *sdp)
1551{ 1551{
1552 struct gfs2_sbd *sdp = sb->s_fs_info;
1553 unsigned long t; 1552 unsigned long t;
1554 unsigned int x; 1553 unsigned int x;
1555 int cont; 1554 int cont;