NFSv4: Fix security auto-negotiation
NFSv4 security auto-negotiation has been broken since commit 4580a92d (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>
Showing
- fs/nfs/internal.h 1 addition, 1 deletionfs/nfs/internal.h
- fs/nfs/nfs4_fs.h 1 addition, 1 deletionfs/nfs/nfs4_fs.h
- fs/nfs/nfs4client.c 13 additions, 6 deletionsfs/nfs/nfs4client.c
- fs/nfs/nfs4getroot.c 2 additions, 2 deletionsfs/nfs/nfs4getroot.c
- fs/nfs/nfs4proc.c 13 additions, 4 deletionsfs/nfs/nfs4proc.c
- fs/nfs/nfs4super.c 0 additions, 4 deletionsfs/nfs/nfs4super.c
Please register or sign in to comment