aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2019-07-03 17:59:20 +0200
committerIlya Dryomov <[email protected]>2019-09-16 12:06:25 +0200
commit4766815b1179dbe4fe263a5f95795710e29276e2 (patch)
tree6c5722d93697f56b7a80771ecaf2dc03fde583c2 /lib/memory-notifier-error-inject.c
parent3e8730fac951bf89b3adbb040445bb688af1fd22 (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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions