rpc_pipefs: Replace one label in bl_resolve_deviceid()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 29 Dec 2023 12:18:56 +0000 (13:18 +0100)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 4 Jan 2024 15:47:56 +0000 (10:47 -0500)
commit597a421798033cd150586b5f2607389fa4052550
tree6d98bff5981c8e92163ae00382fc3f3ff533426c
parent12fc0a963128b54b82e98b9909f463e784b90b07
rpc_pipefs: Replace one label in bl_resolve_deviceid()

The kfree() function was called in one case by
the bl_resolve_deviceid() function during error handling
even if the passed data structure member contained a null pointer.
This issue was detected by using the Coccinelle software.

Thus use an other label.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/blocklayout/rpc_pipefs.c