mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
Merge pull request #13389 from trociny/wip-rbd-nbd-unused_old_format
rbd-nbd: no need to check image format any more Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
61ac1b41da
@ -510,7 +510,6 @@ static int do_map()
|
||||
int fd[2];
|
||||
int nbd;
|
||||
|
||||
uint8_t old_format;
|
||||
librbd::image_info_t info;
|
||||
|
||||
Preforker forker;
|
||||
@ -659,10 +658,6 @@ static int do_map()
|
||||
goto close_nbd;
|
||||
}
|
||||
|
||||
r = image.old_format(&old_format);
|
||||
if (r < 0)
|
||||
goto close_nbd;
|
||||
|
||||
{
|
||||
uint64_t handle;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user