This patch also introduces a new member 'version' to use for config file version check in future. Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- sheep/store.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/sheep/store.c b/sheep/store.c index b093916..4a63a8a 100644 --- a/sheep/store.c +++ b/sheep/store.c @@ -30,10 +30,12 @@ struct sheepdog_config { uint64_t ctime; - uint64_t space; uint16_t flags; uint8_t copies; uint8_t store[STORE_LEN]; + uint8_t __pad[3]; + uint16_t version; + uint64_t space; }; char *obj_path; -- 1.7.2.5 |