summaryrefslogtreecommitdiffstats
path: root/fs/read_write.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-20 13:30:16 +0100
committerSage Weil <sage@newdream.net>2010-03-23 15:47:04 +0100
commit4736b009b880b7c19bea36327a71032a6dbee402 (patch)
tree3702b662c5d3f1048680e7766308df464c9af8f2 /fs/read_write.h
parentceph: propagate mds session allocation failures to caller (diff)
downloadlinux-4736b009b880b7c19bea36327a71032a6dbee402.tar.xz
linux-4736b009b880b7c19bea36327a71032a6dbee402.zip
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>
Diffstat (limited to 'fs/read_write.h')
0 files changed, 0 insertions, 0 deletions