NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 18 Oct 2022 20:44:47 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:13 +0000 (13:14 +0100)
commit34dffc77ddf665d87ab8ef348db2214cb476cef3
tree4a3b7b62d81ed5e51d6d11b3e9eb2daeb7864e49
parentd926611c89ac21e1b24d10d408f13dd943905d73
NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding

[ Upstream commit eef7314caf2d73a94b68ba293cd105154d3a664e ]

We need to clear the FATTR4_WORD2_SECURITY_LABEL bitmap flag
irrespective of whether or not the label is too long.

Fixes: aa9c2669626c ("NFS: Client implementation of Labeled-NFS")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4xdr.c