Skip to contentSkip to conversation

cluster/gfs-kernel/src/gfs ops_fstype.c ops_su ...

Cluster-devel [email protected] 1 participant 1 message Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: wcheng at sourceware.org 2007-06-19 21:06:10

Modified files:
gfs-kernel/src/gfs: ops_fstype.c ops_super.c

Log message:
Bugzilla 231904:

Fast statfs (df) changes: Previous check-in overlooked this issue. We need to "put" the license inode in gfs_put_super - otherwise umount will hang.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_fstype.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.28.2.4&r2=1.28.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_super.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.24.2.4&r2=1.24.2.5

gfs-kernel/src/gfs/ops_fstype.c +0 -1
@@ -392,7 +392,6 @@
 		dput(sb->s_root);
 		sb->s_root = NULL;
 	}
-	gfs_inode_put(sdp->sd_qinode);
 fail_qi_free:
 	gfs_inode_put(sdp->sd_qinode);
 fail_root_free:
gfs-kernel/src/gfs/ops_super.c +1 -0
@@ -144,6 +144,7 @@
 	gfs_inode_put(sdp->sd_jiinode);
 	gfs_inode_put(sdp->sd_rooti);
 	gfs_inode_put(sdp->sd_qinode);
+	gfs_inode_put(sdp->sd_linode);
 	gfs_glock_put(sdp->sd_trans_gl);
 	gfs_glock_put(sdp->sd_rename_gl);