NFSv4: Fix security auto-negotiation
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 7 Sep 2013 16:58:57 +0000 (12:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 7 Sep 2013 20:18:30 +0000 (16:18 -0400)
commit5e6b19901b763f502e62b5fd4f583778df983ce7
treef407c8014634062f1f02a7528801dd1b4868e6ba
parent19e7b8d240702297d837891694f463435910f718
NFSv4: Fix security auto-negotiation

NFSv4 security auto-negotiation has been broken since
commit 4580a92d44e2b21c2254fa5fef0f1bfb43c82318 (NFS:
Use server-recommended security flavor by default (NFSv3))
because nfs4_try_mount() will automatically select AUTH_SYS
if it sees no auth flavours.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/internal.h
fs/nfs/nfs4_fs.h
fs/nfs/nfs4client.c
fs/nfs/nfs4getroot.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4super.c