NFSv4.0 fix client reference leak in callback
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 26 Jul 2018 20:04:47 +0000 (16:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:43:40 +0000 (22:43 +0200)
commit521aedea92cddf019ce5d0a26e90363209d6f023
tree44021b95b39c79409474475bf18c5d711c358076
parentc39273ce0d85f076a98cc79d151ef83bc75f4049
NFSv4.0 fix client reference leak in callback

[ Upstream commit 32cd3ee511f4e07ca25d71163b50e704808d22f4 ]

If there is an error during processing of a callback message, it leads
to refrence leak on the client structure and eventually an unclean
superblock.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/callback_xdr.c