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
Changes by: wcheng at sourceware.org 2007-05-08 18:11:07

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

Log message:
GFS(s) expects NFS fh_type and fh_len would have the same value. This is not correct. One obvious symptom is that it will fail NFS V2 (that uses fixed fh_len for all requests) mount command.

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

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) {