commit.c (6540fd153ca9d4cff31b1cc3f5ced271eca9296c) | commit.c (bd86fb990cfedc50d9705b8ed31d183f01942035) |
---|---|
1/* 2 * Live block commit 3 * 4 * Copyright Red Hat, Inc. 2012 5 * 6 * Authors: 7 * Jeff Cody <jcody@redhat.com> 8 * Based on stream.c by Stefan Hajnoczi --- 209 unchanged lines hidden (view full) --- 218 219static void bdrv_commit_top_refresh_filename(BlockDriverState *bs) 220{ 221 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), 222 bs->backing->bs->filename); 223} 224 225static void bdrv_commit_top_child_perm(BlockDriverState *bs, BdrvChild *c, | 1/* 2 * Live block commit 3 * 4 * Copyright Red Hat, Inc. 2012 5 * 6 * Authors: 7 * Jeff Cody <jcody@redhat.com> 8 * Based on stream.c by Stefan Hajnoczi --- 209 unchanged lines hidden (view full) --- 218 219static void bdrv_commit_top_refresh_filename(BlockDriverState *bs) 220{ 221 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), 222 bs->backing->bs->filename); 223} 224 225static void bdrv_commit_top_child_perm(BlockDriverState *bs, BdrvChild *c, |
226 const BdrvChildRole *role, | 226 const BdrvChildClass *child_class, |
227 BlockReopenQueue *reopen_queue, 228 uint64_t perm, uint64_t shared, 229 uint64_t *nperm, uint64_t *nshared) 230{ 231 *nperm = 0; 232 *nshared = BLK_PERM_ALL; 233} 234 --- 296 unchanged lines hidden --- | 227 BlockReopenQueue *reopen_queue, 228 uint64_t perm, uint64_t shared, 229 uint64_t *nperm, uint64_t *nshared) 230{ 231 *nperm = 0; 232 *nshared = BLK_PERM_ALL; 233} 234 --- 296 unchanged lines hidden --- |