On Sat, Jan 13, 2007 at 06:43:07AM +1100, Neil Brown wrote:
>
> Ok, thanks. I must have missed something else wrong in the code......
>
> Probably this 'break' in the wrong place...
>
> Could you try this patch instead please - or just move the 'break' to
> where it should be.
Now it worked :)
Thanks,
Wu
> Signed-off-by: Neil Brown <[email protected]>
>
> ### Diffstat output
> ./fs/nfsd/nfssvc.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff .prev/fs/nfsd/nfssvc.c ./fs/nfsd/nfssvc.c
> --- .prev/fs/nfsd/nfssvc.c 2007-01-11 14:55:38.000000000 +1100
> +++ ./fs/nfsd/nfssvc.c 2007-01-13 06:40:12.000000000 +1100
> @@ -72,7 +72,7 @@ static struct svc_program nfsd_acl_progr
> .pg_prog = NFS_ACL_PROGRAM,
> .pg_nvers = NFSD_ACL_NRVERS,
> .pg_vers = nfsd_acl_versions,
> - .pg_name = "nfsd",
> + .pg_name = "nfsacl",
> .pg_class = "nfsd",
> .pg_stats = &nfsd_acl_svcstats,
> .pg_authenticate = &svc_set_client,
> @@ -118,16 +118,16 @@ int nfsd_vers(int vers, enum vers_op cha
> switch(change) {
> case NFSD_SET:
> nfsd_versions[vers] = nfsd_version[vers];
> - break;
> #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)
> if (vers < NFSD_ACL_NRVERS)
> - nfsd_acl_version[vers] = nfsd_acl_version[vers];
> + nfsd_acl_versions[vers] = nfsd_acl_version[vers];
> #endif
> + break;
> case NFSD_CLEAR:
> nfsd_versions[vers] = NULL;
> #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)
> if (vers < NFSD_ACL_NRVERS)
> - nfsd_acl_version[vers] = NULL;
> + nfsd_acl_versions[vers] = NULL;
> #endif
> break;
> case NFSD_TEST:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]