summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/cw.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-24 19:42:18 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-24 19:42:18 +0200
commitffc58b342995c6537f442db710ab213c057f968d (patch)
treebd39af8d1e80669ad54773921e0e80d2d6be12a7 /sys/src/cmd/cwfs/cw.c
parent42cf4e2371710cbd8e42da20dc5b30677fc64eaa (diff)
cwfs: make sure we do a full dump after toggling noatime
Diffstat (limited to 'sys/src/cmd/cwfs/cw.c')
-rw-r--r--sys/src/cmd/cwfs/cw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/cwfs/cw.c b/sys/src/cmd/cwfs/cw.c
index 26475f0c1..351f3d09f 100644
--- a/sys/src/cmd/cwfs/cw.c
+++ b/sys/src/cmd/cwfs/cw.c
@@ -1491,7 +1491,8 @@ cfsdump(Filsys *fs)
if(chatty)
fprint(2, "cwroot %lld", (Wideoff)orba);
cons.noage = 1;
- cw->all = cw->allflag | noatime;
+ cw->all = cw->allflag | noatime | noatimeset;
+ noatimeset = 0;
rba = cwrecur(cw, orba, Tsuper, 0, QPROOT);
if(rba == 0)
rba = orba;