From b12de2215e678aa2d2e9ca3509afe1c1007b1017 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 31 Dec 2017 15:31:58 +0000 Subject: [PATCH] filesys: fix typo --- Kernel/filesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/filesys.c b/Kernel/filesys.c index 57e67b30..74dcba52 100644 --- a/Kernel/filesys.c +++ b/Kernel/filesys.c @@ -687,7 +687,7 @@ void blk_free(uint16_t devno, blkno_t blk) if(dev->s_nfree == FILESYS_TABSIZE) { buf = bread(devno, blk, 1); if (buf) { - /* nfree must directly preced the blocks and without padding. That's + /* nfree must directly preceed the blocks and without padding. That's the assumption UZI always had */ blkfromk(&dev->s_nfree, buf, 0, sizeof(int) + 50 * sizeof(blkno_t)); bawrite(buf); -- 2.34.1