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:47:13 +0000 (22:47 +0200)
commit4bd667d1fd9bb42cd23b6e796b966255ba6fd2f7
tree78f453dd68748af0bbd614afd46bc7501b4d8319
parent2a19b49acca3389e1089d19e9fba70d8f3c2415a
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