[sheepdog] [PATCH v2] sheep: make config file compatible with the previous one
Liu Yuan
namei.unix at gmail.com
Tue Aug 21 08:03:18 CEST 2012
On 08/21/2012 02:37 AM, MORITA Kazutaka wrote:
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
>
> Changes from v1:
> - remove 'version' from sheepdog_config
>
> Even if we don't support a version check of the config in the next
> release, we should fix the compatibility issue at least.
>
>
> sheep/store.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/sheep/store.c b/sheep/store.c
> index 542804a..fcbf32d 100644
> --- a/sheep/store.c
> +++ b/sheep/store.c
> @@ -30,10 +30,11 @@
>
> struct sheepdog_config {
> uint64_t ctime;
> - uint64_t space;
> uint16_t flags;
> uint8_t copies;
> uint8_t store[STORE_LEN];
> + uint8_t __pad[5];
> + uint64_t space;
> };
>
> char *obj_path;
>
Applied, thanks.
Yuan
More information about the sheepdog
mailing list