[BACK]Return to ufs.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / lib / libsa

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

Diff for /src/sys/lib/libsa/ufs.c between version 1.42 and 1.43

version 1.42, 2003/08/31 22:40:49 version 1.43, 2004/03/20 14:24:59
Line 496  ffs_find_superblock(struct open_file *f,
Line 496  ffs_find_superblock(struct open_file *f,
                     sblock_try[i] / DEV_BSIZE, SBLOCKSIZE, fs, &buf_size);                      sblock_try[i] / DEV_BSIZE, SBLOCKSIZE, fs, &buf_size);
                 if (rc != 0 || buf_size != SBLOCKSIZE)                  if (rc != 0 || buf_size != SBLOCKSIZE)
                         return rc;                          return rc;
                   if (fs->fs_sblockloc != sblock_try[i])
                           /* an alternate superblock - try again */
                           continue;
                 if (fs->fs_magic == FS_UFS2_MAGIC) {                  if (fs->fs_magic == FS_UFS2_MAGIC) {
                         return 0;                          return 0;
                 }                  }

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

CVSweb <webmaster@jp.NetBSD.org>