[sheepdog] [PATCH v3 0/2] collie: make rollback and restore safer

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Apr 11 06:54:05 CEST 2013


v3:
 - fix wrong check of fgets return value

v2:
 - check return value of fgets

MORITA Kazutaka (2):
  collie: confirm when rolling back to the snapshot
  collie: restore snapshot only when stdin is pipe

 collie/cluster.c | 16 ++--------------
 collie/collie.h  |  1 +
 collie/common.c  | 10 ++++++++++
 collie/vdi.c     | 10 ++++++++++
 include/util.h   |  5 +++++
 tests/039        | 14 +++++++-------
 tests/039.out    | 15 ++++++++++-----
 7 files changed, 45 insertions(+), 26 deletions(-)

-- 
1.8.1.3.566.gaa39828




More information about the sheepdog mailing list