]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Attempt mount with default sec flavor first
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 13 Apr 2011 18:31:30 +0000 (14:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 13 Apr 2011 19:12:23 +0000 (15:12 -0400)
commit6c5e427693c5fd19bf2c4b2a2edaa066103d1ff0
tree959e354fe7e13525efa8e4313176550dbcc3fe99
parentbea41764fab36fe9b63e4ea499d3789a2fb28a59
NFS: Attempt mount with default sec flavor first

nfs4_lookup_root() is already configured to use either RPC_AUTH_UNIX
or a user specified flavor (through -o sec=<whatever>).  We should
use this flavor first, and only attempt negotiation if it fails
with -EPERM.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c