[Cluster-devel] cluster/gfs-kernel/src/gfs ops_export.c

wcheng at sourceware.org wcheng at sourceware.org
Tue May 8 18:11:07 UTC 2007


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

--- cluster/gfs-kernel/src/gfs/ops_export.c	2007/01/24 14:44:19	1.9
+++ cluster/gfs-kernel/src/gfs/ops_export.c	2007/05/08 18:11:06	1.10
@@ -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) {




More information about the Cluster-devel mailing list