summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hjfs/dat.h
diff options
context:
space:
mode:
authorspew <devnull@localhost>2017-03-28 20:39:14 -0500
committerspew <devnull@localhost>2017-03-28 20:39:14 -0500
commit1c13d41b8c1f2b94c5e9dcbf3154252c823f14d3 (patch)
treed58f02bdf67ee9d039e06889227a13e8f3b3f371 /sys/src/cmd/hjfs/dat.h
parente51044884b329d808015c7972d1c8409303faab3 (diff)
hjfs: Fix bugs in ref count scan check. Enable as a console command (caveat: command arguments will change as I implement more functionality)
Diffstat (limited to 'sys/src/cmd/hjfs/dat.h')
-rw-r--r--sys/src/cmd/hjfs/dat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/hjfs/dat.h b/sys/src/cmd/hjfs/dat.h
index bc336a7b2..0a7ff5167 100644
--- a/sys/src/cmd/hjfs/dat.h
+++ b/sys/src/cmd/hjfs/dat.h
@@ -87,6 +87,7 @@ enum {
OFFPERBLK = RBLOCK / 12,
REFSIZ = 3,
REFPERBLK = RBLOCK / REFSIZ,
+ REFSENTINEL = (1 << 8*REFSIZ) - 1,
};
struct BufReq {