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>
Sat, 31 Dec 2022 12:32:18 +0000 (13:32 +0100)
commit43fe5686d4a4dfc884bcb029e4ba5dc1c6c7a470
treeadcfb0c76195806b0ca7f5ce37cc0825ddadf9a7
parent7c6975209d98bb02a8fcd85dcbe35b9ed292aca7
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: 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/nfs4proc.c