plugins/nbd/nbd.c
/* Flush the file to disk. */
Flush the file to disk.
Flush the file to disk .
static int
nbd_flush (void *handle, uint32_t flags)
{
  struct handle *h = handle;
  int c;
  assert (!flags);
  c = nbd_request (h, 0, NBD_CMD_FLUSH, 0, 0);
  return c < 0 ? c : nbd_reply (h, c);
}
static int nbd_flush ( void * handle , uint32_t flags ) { struct handle * h = handle ; int c ; assert ( ! flags ) ; c = nbd_request ( h , 0 , NBD_CMD_FLUSH , 0 , 0 ) ; return c < 0 ? c : nbd_reply ( h , c ) ; }
Flush the file to disk.
Flush the file to disk .