sunrpc: fixed rollback in rpc_gssd_dummy_populate()
authorVasily Averin <vvs@virtuozzo.com>
Mon, 1 Jun 2020 08:54:57 +0000 (11:54 +0300)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 26 Jun 2020 12:43:14 +0000 (08:43 -0400)
commitb7ade38165ca0001c5a3bd5314a314abbbfbb1b7
treed86d46c4da6afcee2c347ef5be73cd2885898301
parent7b2182ec381f8ea15c7eb1266d6b5d7da620ad93
sunrpc: fixed rollback in rpc_gssd_dummy_populate()

__rpc_depopulate(gssd_dentry) was lost on error path

cc: stable@vger.kernel.org
Fixes: commit 4b9a445e3eeb ("sunrpc: create a new dummy pipe for gssd to hold open")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/rpc_pipe.c