diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2017-04-27 16:45:15 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-05-05 19:01:32 +0200 |
commit | 5c737cb29977896eb0f373d3adbcdea73b815808 (patch) | |
tree | ce7e35e6df011d9739dca0bfef786de0efbcf644 /fs/compat.c | |
parent | NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION (diff) | |
download | linux-5c737cb29977896eb0f373d3adbcdea73b815808.tar.xz linux-5c737cb29977896eb0f373d3adbcdea73b815808.zip |
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/compat.c')
0 files changed, 0 insertions, 0 deletions