]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 28 Nov 2022 03:09:59 +0000 (22:09 -0500)
commiteef7314caf2d73a94b68ba293cd105154d3a664e
treeaf38ad25e0d144e5c63ff7fb69aa76a4f1ce03e9
parent0eb43812c0270ee3d005ff32f91f7d0a6c4943af
NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding

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>
fs/nfs/nfs4xdr.c