Commit 3f3eb3c3 authored by Maninder Singh's avatar Maninder Singh Committed by Greg Kroah-Hartman
Browse files

NFSD: unregister filesystem in case genl_register_family() fails



commit ff12eb37 upstream.

With rpc_status netlink support, unregister of register_filesystem()
was missed in case of genl_register_family() fails.

Correcting it by making new label.

Fixes: bd9d6a3e ("NFSD: add rpc_status netlink support")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarManinder Singh <maninder1.s@samsung.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 763d1789
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment