diff options
author | Dongsheng Yang <dongsheng.yang@easystack.cn> | 2019-08-09 07:05:27 +0000 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-09-16 12:06:25 +0200 |
commit | 5435d2069503e2aa89c34a94154f4f2fa4a0c9c4 (patch) | |
tree | ae0b58ecffa5020c182cc0d8114288383e2ad9bb /fs/ceph | |
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>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions