[BACK]Return to pass1.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / fsck_lfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/fsck_lfs/pass1.c between version 1.45 and 1.45.18.1

version 1.45, 2015/10/03 08:30:13 version 1.45.18.1, 2020/08/17 10:30:22
Line 307  checkinode(ino_t inumber, struct inodesc
Line 307  checkinode(ino_t inumber, struct inodesc
          */           */
         if (lfs_dino_getnlink(fs, dp) <= 0) {          if (lfs_dino_getnlink(fs, dp) <= 0) {
                 LFS_IENTRY(ifp, fs, inumber, bp);                  LFS_IENTRY(ifp, fs, inumber, bp);
                 if (lfs_if_getnextfree(fs, ifp) == LFS_ORPHAN_NEXTFREE) {                  if (lfs_if_getnextfree(fs, ifp) == LFS_ORPHAN_NEXTFREE(fs)) {
                         statemap[inumber] = (mode == LFS_IFDIR ? DCLEAR : FCLEAR);                          statemap[inumber] = (mode == LFS_IFDIR ? DCLEAR : FCLEAR);
                         /* Add this to our list of orphans */                          /* Add this to our list of orphans */
                         zlnp = emalloc(sizeof *zlnp);                          zlnp = emalloc(sizeof *zlnp);

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.45.18.1

CVSweb <webmaster@jp.NetBSD.org>