Date: Sat, 20 Jul 2019 21:39:32 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350187 - head/sbin/fsck_ffs Message-ID: <201907202139.x6KLdWTY034965@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mckusick Date: Sat Jul 20 21:39:32 2019 New Revision: 350187 URL: https://svnweb.freebsd.org/changeset/base/350187 Log: Treat any inode with bad content as unknown (i.e., ask if it should be cleared). Sponsored by: Netflix Modified: head/sbin/fsck_ffs/pass1.c Modified: head/sbin/fsck_ffs/pass1.c ============================================================================== --- head/sbin/fsck_ffs/pass1.c Sat Jul 20 21:20:40 2019 (r350186) +++ head/sbin/fsck_ffs/pass1.c Sat Jul 20 21:39:32 2019 (r350187) @@ -251,7 +251,7 @@ checkinode(ino_t inumber, struct inodesc *idesc, int r int j, ret, offset; if ((dp = getnextinode(inumber, rebuildcg)) == NULL) - return (0); + goto unknown; mode = DIP(dp, di_mode) & IFMT; if (mode == 0) { if ((sblock.fs_magic == FS_UFS1_MAGIC &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907202139.x6KLdWTY034965>