]> asedeno.scripts.mit.edu Git - linux.git/commit
Fix nfs_client refcounting if kmalloc fails in nfs4_proc_exchange_id and nfs4_proc_as...
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 27 Apr 2017 14:45:15 +0000 (10:45 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 May 2017 17:01:32 +0000 (13:01 -0400)
commit5c737cb29977896eb0f373d3adbcdea73b815808
treece7e35e6df011d9739dca0bfef786de0efbcf644
parent0048fdd06614a4ea088f9fcad11511956b795698
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>
fs/nfs/nfs4proc.c