commit | 5435d2069503e2aa89c34a94154f4f2fa4a0c9c4 | [log] [tgz] |
---|---|---|
author | Dongsheng Yang <dongsheng.yang@easystack.cn> | Fri Aug 09 07:05:27 2019 +0000 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Sep 16 12:06:25 2019 +0200 |
tree | ae0b58ecffa5020c182cc0d8114288383e2ad9bb | |
parent | b8fe918b090442447d821b32b7dd6e17d5b5dfc1 [diff] |
rbd: fix response length parameter for encoded strings rbd_dev_image_id() allocates space for length but passes a smaller value to rbd_obj_method_sync(). rbd_dev_v2_object_prefix() doesn't allocate space for length. Fix both to be consistent. Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>