diff options
-rw-r--r-- | drivers/block/rbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 43b9814edf97..b55b7812cf93 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -2252,7 +2252,7 @@ static int rbd_img_request_fill(struct rbd_img_request *img_request, | |||
2252 | 2252 | ||
2253 | out_unwind: | 2253 | out_unwind: |
2254 | for_each_obj_request_safe(img_request, obj_request, next_obj_request) | 2254 | for_each_obj_request_safe(img_request, obj_request, next_obj_request) |
2255 | rbd_obj_request_put(obj_request); | 2255 | rbd_img_obj_request_del(img_request, obj_request); |
2256 | 2256 | ||
2257 | return -ENOMEM; | 2257 | return -ENOMEM; |
2258 | } | 2258 | } |