Skip to contentSkip to conversation

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

Cluster-devel [email protected] 1 participant 1 message May 8, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: wcheng at sourceware.org 2007-05-08 18:07:17

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

Log message:
Bugzilla 229346:

Remove incorrect checking - fh_type does not necessarily equal to fh_len. This checking breaks NFS V2 mount.

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

gfs-kernel/src/gfs/ops_export.c +0 -3
@@ -62,9 +62,6 @@
 
 	atomic_inc(&get_v2sdp(sb)->sd_ops_export);
 
-	if (fh_type != fh_len)
-		return NULL;
-
 	memset(&parent, 0, sizeof(struct inode_cookie));
 
 	switch (fh_type) {