sunrpc: handle allocation errors from __rpc_lookup_create()
commita420c0a1ec9d34fa8923f59e12d4ad9047db490b
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 22:58:42 +0000 (1 15:58 -0700)
treed0ffd74633615119b631684971cc12d48f8dc1a6
parentea374cba047ddb056ca4b4f8813282ad7642201e
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