Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Sat May 13 11:51:15 UTC 2023

Modified Files:
        src/sbin/fsck_ffs [netbsd-10]: main.c pass1.c pass1b.c pass4.c pass5.c
            setup.c
        src/sbin/fsdb [netbsd-10]: fsdb.c
        src/sbin/newfs [netbsd-10]: mkfs.c
        src/sbin/resize_ffs [netbsd-10]: resize_ffs.c
        src/sbin/tunefs [netbsd-10]: tunefs.c
        src/sys/ufs/ffs [netbsd-10]: ffs_alloc.c ffs_extern.h ffs_subr.c fs.h
        src/usr.sbin/dumpfs [netbsd-10]: dumpfs.c
        src/usr.sbin/makefs [netbsd-10]: Makefile ffs.c
        src/usr.sbin/makefs/ffs [netbsd-10]: ffs_alloc.c ffs_extern.h mkfs.c
        src/usr.sbin/quotacheck [netbsd-10]: quotacheck.c

Log Message:
Pull up following revision(s) (requested by chs in ticket #160):

        usr.sbin/makefs/ffs/ffs_alloc.c: revision 1.31
        sbin/tunefs/tunefs.c: revision 1.58
        sbin/fsck_ffs/setup.c: revision 1.105
        sbin/fsck_ffs/pass5.c: revision 1.56
        usr.sbin/makefs/ffs.c: revision 1.74
        usr.sbin/makefs/ffs/mkfs.c: revision 1.42
        usr.sbin/makefs/Makefile: revision 1.40
        sys/ufs/ffs/fs.h: revision 1.71
        sbin/fsdb/fsdb.c: revision 1.54
        sbin/resize_ffs/resize_ffs.c: revision 1.58
        sbin/fsck_ffs/pass4.c: revision 1.29
        usr.sbin/makefs/ffs/ffs_extern.h: revision 1.9
        sbin/newfs/mkfs.c: revision 1.133
        sys/ufs/ffs/ffs_alloc.c: revision 1.172
        sbin/fsck_ffs/pass1b.c: revision 1.24
        usr.sbin/dumpfs/dumpfs.c: revision 1.68
        sys/ufs/ffs/ffs_extern.h: revision 1.88
        usr.sbin/quotacheck/quotacheck.c: revision 1.51
        sys/ufs/ffs/ffs_subr.c: revision 1.54
        sbin/fsck_ffs/main.c: revision 1.91
        sbin/fsck_ffs/pass1.c: revision 1.63

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:
  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick%FreeBSD.org@localhost>
  Date:   Wed Feb 10 20:10:35 2010 +0000
    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.
    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.
    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick%FreeBSD.org@localhost>
  Date:   Thu Feb 11 18:14:53 2010 +0000
    One last pass to get all the unsigned comparisons correct.

In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.2.1 src/sbin/fsck_ffs/main.c
cvs rdiff -u -r1.62 -r1.62.2.1 src/sbin/fsck_ffs/pass1.c
cvs rdiff -u -r1.23 -r1.23.40.1 src/sbin/fsck_ffs/pass1b.c
cvs rdiff -u -r1.28 -r1.28.38.1 src/sbin/fsck_ffs/pass4.c
cvs rdiff -u -r1.55 -r1.55.2.1 src/sbin/fsck_ffs/pass5.c
cvs rdiff -u -r1.104 -r1.104.2.1 src/sbin/fsck_ffs/setup.c
cvs rdiff -u -r1.53 -r1.53.2.1 src/sbin/fsdb/fsdb.c
cvs rdiff -u -r1.132 -r1.132.2.1 src/sbin/newfs/mkfs.c
cvs rdiff -u -r1.57 -r1.57.2.1 src/sbin/resize_ffs/resize_ffs.c
cvs rdiff -u -r1.56.2.1 -r1.56.2.2 src/sbin/tunefs/tunefs.c
cvs rdiff -u -r1.171 -r1.171.4.1 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -u -r1.87 -r1.87.2.1 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -u -r1.53 -r1.53.4.1 src/sys/ufs/ffs/ffs_subr.c
cvs rdiff -u -r1.70 -r1.70.2.1 src/sys/ufs/ffs/fs.h
cvs rdiff -u -r1.66.2.1 -r1.66.2.2 src/usr.sbin/dumpfs/dumpfs.c
cvs rdiff -u -r1.39 -r1.39.2.1 src/usr.sbin/makefs/Makefile
cvs rdiff -u -r1.73 -r1.73.2.1 src/usr.sbin/makefs/ffs.c
cvs rdiff -u -r1.30 -r1.30.2.1 src/usr.sbin/makefs/ffs/ffs_alloc.c
cvs rdiff -u -r1.8 -r1.8.2.1 src/usr.sbin/makefs/ffs/ffs_extern.h
cvs rdiff -u -r1.41 -r1.41.2.1 src/usr.sbin/makefs/ffs/mkfs.c
cvs rdiff -u -r1.50 -r1.50.2.1 src/usr.sbin/quotacheck/quotacheck.c

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




Home | Main Index | Thread Index | Old Index