Browse Source

> 0, of course

non-odp-rdma
Vitaliy Filippov 7 months ago
parent
commit
218e294e9c
  1. 2
      src/nbd_proxy.cpp

2
src/nbd_proxy.cpp

@ -498,7 +498,7 @@ protected:
goto end_unmap;
}
ioctl(nbd, NBD_SET_FLAGS, flags);
if (timeout >= 0)
if (timeout > 0)
{
r = ioctl(nbd, NBD_SET_TIMEOUT, (unsigned long)timeout);
if (r < 0)

Loading…
Cancel
Save