patch-2.1.67 linux/fs/nfsd/nfsxdr.c

Next file: linux/fs/nfsd/stats.c
Previous file: linux/fs/nfsd/nfsfh.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/fs/nfsd/nfsxdr.c linux/fs/nfsd/nfsxdr.c
@@ -18,7 +18,7 @@
 #define NFSDDBG_FACILITY		NFSDDBG_XDR
 
 u32	nfs_ok, nfserr_perm, nfserr_noent, nfserr_io, nfserr_nxio,
-	nfserr_acces, nfserr_exist, nfserr_nodev, nfserr_notdir,
+	nfserr_inval, nfserr_acces, nfserr_exist, nfserr_nodev, nfserr_notdir,
 	nfserr_isdir, nfserr_fbig, nfserr_nospc, nfserr_rofs,
 	nfserr_nametoolong, nfserr_dquot, nfserr_stale;
 
@@ -47,10 +47,11 @@
 	if (inited)
 		return;
 
-	nfs_ok = htonl(NFS_OK);
-	nfserr_perm = htonl(NFSERR_PERM);
-	nfserr_noent = htonl(NFSERR_NOENT);
-	nfserr_io = htonl(NFSERR_IO);
+	nfs_ok		= htonl(NFS_OK);
+	nfserr_perm	= htonl(NFSERR_PERM);
+	nfserr_noent	= htonl(NFSERR_NOENT);
+	nfserr_io	= htonl(NFSERR_IO);
+	nfserr_inval	= htonl(NFSERR_INVAL);
 	nfserr_nxio = htonl(NFSERR_NXIO);
 	nfserr_acces = htonl(NFSERR_ACCES);
 	nfserr_exist = htonl(NFSERR_EXIST);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov