sunrpc: handle allocation errors from __rpc_lookup_create()
commitb48cf4837f3edb4b0fa8101f4544dba37be6188f
authorDan Carpenter <error27@gmail.com>
Sun, 21 Mar 2010 16:10:34 +0000 (21 12:10 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:46 +0000 (1 16:01 -0700)
treed3bcb86840a321961114325c1b79d716908f247f
parent33b122a45a92b8029b6e416ec0bdcce09abbde22
sunrpc: handle allocation errors from __rpc_lookup_create()

commit f1f0abe192a72e75d7c59972e30784d043fd8d73 upstream.

__rpc_lookup_create() can return ERR_PTR(-ENOMEM).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/rpc_pipe.c