sunrpc: handle allocation errors from __rpc_lookup_create()
authorDan Carpenter <error27@gmail.com>
Sun, 21 Mar 2010 16:10:34 +0000 (12:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Mar 2010 09:34:13 +0000 (05:34 -0400)
commitf1f0abe192a72e75d7c59972e30784d043fd8d73
treeec805bee0fea179ad4b5e8a3d09e3ee0914a4186
parentff0901f8036a1586037c30a365c9666e946af0f1
sunrpc: handle allocation errors from __rpc_lookup_create()

__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>
Cc: stable@kernel.org
net/sunrpc/rpc_pipe.c