nfs: fix some issues in nfs41_proc_reclaim_complete()
authorDan Carpenter <error27@gmail.com>
Thu, 22 Apr 2010 09:28:39 +0000 (11:28 +0200)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 28 Apr 2010 17:45:12 +0000 (13:45 -0400)
commitacf82b85a70f39786e3cbb1ffed8655bcc972424
tree99e1a7b0815aa1ca1d9196a323c9c28df185d2aa
parentba8b06e67ed7a560b0e7c80091bcadda4f4727a5
nfs: fix some issues in nfs41_proc_reclaim_complete()

The original code passed an ERR_PTR() to rpc_put_task() and instead of
returning zero on success it returned -ENOMEM.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c