diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2017-04-27 17:45:15 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-05-05 20:01:32 +0300 |
commit | 5c737cb29977896eb0f373d3adbcdea73b815808 (patch) | |
tree | ce7e35e6df011d9739dca0bfef786de0efbcf644 /fs/nfs/nfs4state.c | |
parent | 0048fdd06614a4ea088f9fcad11511956b795698 (diff) | |
download | linux-5c737cb29977896eb0f373d3adbcdea73b815808.tar.xz |
Fix nfs_client refcounting if kmalloc fails in nfs4_proc_exchange_id and nfs4_proc_async_renew
If memory allocation fails for the callback data, we need to put the nfs_client
or we end up with an elevated refcount.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
0 files changed, 0 insertions, 0 deletions