Diff for /qemu/block-cloop.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2018/04/24 16:40:35 version 1.1.1.3, 2018/04/24 16:44:49
Line 50  static int cloop_probe(const uint8_t *bu Line 50  static int cloop_probe(const uint8_t *bu
     return 0;      return 0;
 }  }
   
 static int cloop_open(BlockDriverState *bs, const char *filename)  static int cloop_open(BlockDriverState *bs, const char *filename, int flags)
 {  {
     BDRVCloopState *s = bs->opaque;      BDRVCloopState *s = bs->opaque;
     uint32_t offsets_size,max_compressed_block_size=1,i;      uint32_t offsets_size,max_compressed_block_size=1,i;
   
     s->fd = open(filename, O_RDONLY | O_BINARY | O_LARGEFILE);      s->fd = open(filename, O_RDONLY | O_BINARY);
     if (s->fd < 0)      if (s->fd < 0)
         return -1;          return -errno;
     bs->read_only = 1;      bs->read_only = 1;
   
     /* read header */      /* read header */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


unix.superglobalmegacorp.com