« Previous | Next » 

Revision a16c174c

IDa16c174c51e7cd896c701d5d0e8329e610e90ce1

Added by Ryota Ozaki about 10 years ago

qemu-nbd: Fix return value handling of bdrv_open

bdrv_open may return -errno so we have to check
if the return value is '< 0', not '== -1'.

Signed-off-by: Ryota Ozaki <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences