quorum.c (672f9d0df10a68a5c5f2b32cbc8284abf9f5ee18) | quorum.c (bd86fb990cfedc50d9705b8ed31d183f01942035) |
---|---|
1/* 2 * Quorum Block filter 3 * 4 * Copyright (C) 2012-2014 Nodalink, EURL. 5 * 6 * Author: 7 * Benoît Canet <benoit.canet@irqsave.net> 8 * --- 1137 unchanged lines hidden (view full) --- 1146 * one; so there is no unique dirname we could return (unless all are equal 1147 * by chance, or there is only one). Therefore, to be consistent, just 1148 * always return NULL. */ 1149 error_setg(errp, "Cannot generate a base directory for quorum nodes"); 1150 return NULL; 1151} 1152 1153static void quorum_child_perm(BlockDriverState *bs, BdrvChild *c, | 1/* 2 * Quorum Block filter 3 * 4 * Copyright (C) 2012-2014 Nodalink, EURL. 5 * 6 * Author: 7 * Benoît Canet <benoit.canet@irqsave.net> 8 * --- 1137 unchanged lines hidden (view full) --- 1146 * one; so there is no unique dirname we could return (unless all are equal 1147 * by chance, or there is only one). Therefore, to be consistent, just 1148 * always return NULL. */ 1149 error_setg(errp, "Cannot generate a base directory for quorum nodes"); 1150 return NULL; 1151} 1152 1153static void quorum_child_perm(BlockDriverState *bs, BdrvChild *c, |
1154 const BdrvChildRole *role, | 1154 const BdrvChildClass *child_class, |
1155 BlockReopenQueue *reopen_queue, 1156 uint64_t perm, uint64_t shared, 1157 uint64_t *nperm, uint64_t *nshared) 1158{ 1159 *nperm = perm & DEFAULT_PERM_PASSTHROUGH; 1160 1161 /* 1162 * We cannot share RESIZE or WRITE, as this would make the --- 53 unchanged lines hidden --- | 1155 BlockReopenQueue *reopen_queue, 1156 uint64_t perm, uint64_t shared, 1157 uint64_t *nperm, uint64_t *nshared) 1158{ 1159 *nperm = perm & DEFAULT_PERM_PASSTHROUGH; 1160 1161 /* 1162 * We cannot share RESIZE or WRITE, as this would make the --- 53 unchanged lines hidden --- |