NFSv4.1: Ensure we clear the SP4_MACH_CRED flags in nfs4_sp4_select_mode()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 11:32:50 +0000 (07:32 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 7 Aug 2017 13:32:55 +0000 (09:32 -0400)
commit937e3133cd0b99b0724aebd081fed372441c9915
tree7f871d48b122bd6a50453a473272650d0f3dc348
parent9c760d1fd513053410e10d5f507daad56aeec7db
NFSv4.1: Ensure we clear the SP4_MACH_CRED flags in nfs4_sp4_select_mode()

If the server changes, so that it no longer supports SP4_MACH_CRED, or
that it doesn't support the same set of SP4_MACH_CRED functionality,
then we want to ensure that we clear the unsupported flags.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c