commit | 4766815b1179dbe4fe263a5f95795710e29276e2 | [log] [tgz] |
---|---|---|
author | David Disseldorp <ddiss@suse.de> | Wed Jul 03 17:59:20 2019 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Sep 16 12:06:25 2019 +0200 |
tree | 6c5722d93697f56b7a80771ecaf2dc03fde583c2 | |
parent | 3e8730fac951bf89b3adbb040445bb688af1fd22 [diff] |
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>