diff options
author | David Disseldorp <ddiss@suse.de> | 2019-07-03 18:59:20 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 13:06:25 +0300 |
commit | 4766815b1179dbe4fe263a5f95795710e29276e2 (patch) | |
tree | 6c5722d93697f56b7a80771ecaf2dc03fde583c2 /fs/ceph/io.h | |
parent | 3e8730fac951bf89b3adbb040445bb688af1fd22 (diff) | |
download | linux-4766815b1179dbe4fe263a5f95795710e29276e2.tar.xz |
libceph: handle OSD op ceph_pagelist_append() errors
osd_req_op_cls_init() and osd_req_op_xattr_init() currently propagate
ceph_pagelist_alloc() ENOMEM errors but ignore ceph_pagelist_append()
memory allocation failures. Add these checks and cleanup on error.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/io.h')
0 files changed, 0 insertions, 0 deletions