diff options
author | Andrew Elble <aweits@rit.edu> | 2018-10-05 15:32:08 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-10-29 21:58:04 +0100 |
commit | bd8d725078867cda250fe94b9c5a067b4a64ca74 (patch) | |
tree | 4c0f4fa0b06e38c6cbd8ad04f25aa5d5d453daaf /net/sunrpc | |
parent | svcrdma: Increase the default connection credit limit (diff) | |
download | linux-bd8d725078867cda250fe94b9c5a067b4a64ca74.tar.xz linux-bd8d725078867cda250fe94b9c5a067b4a64ca74.zip |
nfsd: correctly decrement odstate refcount in error path
alloc_init_deleg() both allocates an nfs4_delegation, and
bumps the refcount on odstate. So after this point, we need to
put_clnt_odstate() and nfs4_put_stid() to not leave the odstate
refcount inappropriately bumped.
Signed-off-by: Andrew Elble <aweits@rit.edu>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions