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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Apr 10 06:01:55 CEST 2013


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