ceph: handle kmalloc() failure
commit4736b009b880b7c19bea36327a71032a6dbee402
authorDan Carpenter <error27@gmail.com>
Sat, 20 Mar 2010 12:30:16 +0000 (20 15:30 +0300)
committerSage Weil <sage@newdream.net>
Tue, 23 Mar 2010 14:47:04 +0000 (23 07:47 -0700)
tree3702b662c5d3f1048680e7766308df464c9af8f2
parent9c423956b8a495f0c048143abc5da955a70eac97
ceph: handle kmalloc() failure

Return ERR_PTR(-ENOMEM) if kmalloc() fails.  We handle allocation
failures the same way later in the function.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c