Re: nfsd fix patch for 2.3.42-pre1?

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Mon Jan 31 2000 - 01:06:51 EST


On Monday January 31, jgarzik@mandrakesoft.mandrakesoft.com wrote:
> Does anybody have a patch which will get nfsd to compile in 2.3.42-pre1?
> It is missing 'NFSEXP_NONLMAUTH' symbol...
>
> I'll hack together a quick fix tomorrow if noone beats me to it.
>
> Jeff
>

It should be "NFSEXP_NOAUTHNLM" I kept changing my mind on the best
name for the flag (NOAUTHNLM means "Dont AUTHenticate
NetworkLockManager requests." )

Thanks.

NeilBrown

*** fs/nfsd/vfs.c 2000/01/31 06:03:40 1.2
--- fs/nfsd/vfs.c 2000/01/31 06:03:49
***************
*** 1676,1682 ****
                  /* If we cannot rely on authentication in NLM requests,
                   * just allow locks, others require read permission
                   */
! if (exp->ex_flags & NFSEXP_NONLMAUTH)
                          return 0;
                  else
                          acc = MAY_READ;
--- 1676,1682 ----
                  /* If we cannot rely on authentication in NLM requests,
                   * just allow locks, others require read permission
                   */
! if (exp->ex_flags & NFSEXP_NOAUTHNLM)
                          return 0;
                  else
                          acc = MAY_READ;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:05 EST