]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: Fix initialisation of struct nfs4_label
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 19 Oct 2022 17:12:11 +0000 (13:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:07 +0000 (11:41 +0100)
commit6338f76bb520a37575fa6f3b4f68814da84f1517
tree3908e98f23b76174d19f24b3b4d0577b52e2380e
parentec5bd580890b684291498bc28b94fcbc7d8712b0
NFSv4.2: Fix initialisation of struct nfs4_label

[ Upstream commit c528f70f504434eaff993a5ddd52203a2010d51f ]

The call to nfs4_label_init_security() should return a fully initialised
label.

Fixes: f28dd75f5eb4 ("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/nfs4proc.c