kNFSd - 2 of 7 - Change NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT
Subsystems (2)
PATCH 1/1 kNFSd - 2 of 7 - Change NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT
### Comments for ChangeSet
NFSEXP_CROSSMNT used to mean something different, so using a different name reduces the chance of confusion. Also there is currently a surplus of vowels, so there is no need to be frugal
----------- Diffstat output ------------
./fs/nfsd/export.c | 2 +- ./fs/nfsd/vfs.c | 2 +- ./include/linux/nfsd/export.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
fs/nfsd/export.c renamed from fs/nfsd/export.c~current~ +1 -1
@@ -999,7 +999,7 @@ struct flags { { NFSEXP_KERBEROS, { "kerberos", ""}}, { NFSEXP_SUNSECURE, { "sunsecure", ""}}, { NFSEXP_NOHIDE, {"nohide", ""}}, - { NFSEXP_CROSSMNT, {"crossmnt", ""}}, + { NFSEXP_CROSSMOUNT, {"crossmnt", ""}}, { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, #ifdef MSNFS
fs/nfsd/vfs.c renamed from fs/nfsd/vfs.c~current~ +1 -1
@@ -99,7 +99,7 @@ nfsd_cross_mnt(struct svc_rqst *rqstp, smntput (mnt); goto out; } -if (exp2 && ((exp->ex_flags &NFSEXP_CROSSMNT ) ||EX_NOHIDE (exp2))) { +if (exp2 && ((exp->ex_flags &NFSEXP_CROSSMOUNT ) ||EX_NOHIDE (exp2))) {/* successfully crossed mount point */ exp_put (exp); *expp = exp2;
include/linux/nfsd/export.h renamed from include/linux/nfsd/export.h~current~ +1 -1
@@ -40,7 +40,7 @@#define NFSEXP_NOAUTHNLM 0x0800/* Don't authenticate NLM requests - just trust */ #define NFSEXP_MSNFS 0x1000/* do silly things that MS clients expect */ #define NFSEXP_FSID 0x2000 -#define NFSEXP_CROSSMNT 0x4000 +#define NFSEXP_CROSSMOUNT 0x4000#define NFSEXP_ALLFLAGS 0x7FFF
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs