Date: Thu, 5 May 2022 23:58:24 GMT From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 262b581d1791 - main - Properly specify the level of indirect block being looked up. The value is used only for diagnostic purposes so no functional change should result. Message-ID: <202205052358.245NwOHw069584@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=262b581d1791fa5905d8771bef7fc201ed46d790 commit 262b581d1791fa5905d8771bef7fc201ed46d790 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-05-05 23:57:03 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-05-05 23:58:03 +0000 Properly specify the level of indirect block being looked up. The value is used only for diagnostic purposes so no functional change should result. --- sbin/fsck_ffs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index dafc99bd92da..47f72c84a1f2 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -213,7 +213,7 @@ iblock(struct inodesc *idesc, off_t isize, int type) idesc->id_lbn++; n = (*func)(idesc); } else { - n = iblock(idesc, isize, type); + n = iblock(idesc, isize, type - 1); idesc->id_level++; } if (n & STOP) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205052358.245NwOHw069584>