Skip to contentSkip to conversation

cluster/gfs-kernel/src/gfs ops_export.c

Cluster-devel [email protected] 1 participant 1 message Feb 13, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: wcheng at sourceware.org 2007-02-13 05:40:59

Modified files:
gfs-kernel/src/gfs: ops_export.c

Log message:
Bugzilla 190475: accidentally passed address of a pointer, instead of pointer, into gfs_inode_get() in previous checked in. This will make gfs_inode_get() oops.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_export.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.3&r2=1.3.2.4

gfs-kernel/src/gfs/ops_export.c +1 -1
@@ -359,7 +359,7 @@
 	gfs_glock_dq_uninit(&rgd_gh);
 	gfs_glock_dq_uninit(&ri_gh);
 
-	error = gfs_inode_get(i_gh.gh_gl, &inum, CREATE, &ip);
+	error = gfs_inode_get(i_gh.gh_gl, inum, CREATE, &ip);
 	if (error)
 		goto fail;