]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: don't negotiate when user specifies sec flavor
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)
commitbdb30de4c68154b5f4990e6f4c04d2632ebb4ce7
tree5a0d71d9a9ed1cfee60014b3b10d71232dee0a09
parent6c5e427693c5fd19bf2c4b2a2edaa066103d1ff0
NFS: don't negotiate when user specifies sec flavor

We were always attempting sec flavor negotiation, even if the user
told us a specific sec flavor to use.  If that sec flavor fails,
we should return an error rather than continuing with sec flavor
negotiation.

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