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:14:13 +0000 (13:14 +0100)
commit7f6607c884267904296bb75b6776a1ac5ea86277
tree8cf0583f82d7fdcb8f04521368991d5409f38ab3
parent51899eefd1a6c0e1b2fa8d4a0a93356252bfbe7f
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