Page MenuHomeFreeBSD

makefs: clean up warnings, fix style, bring changes over from NetBSD
AbandonedPublic

Authored by guest-svmhdvn on May 17 2017, 7:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 1:01 AM
Unknown Object (File)
Thu, Oct 2, 8:13 PM
Unknown Object (File)
Thu, Oct 2, 7:45 PM
Unknown Object (File)
Wed, Oct 1, 9:11 PM
Unknown Object (File)
Wed, Oct 1, 6:43 AM
Unknown Object (File)
Tue, Sep 30, 10:34 PM
Unknown Object (File)
Thu, Sep 18, 7:29 AM
Unknown Object (File)
Sep 8 2025, 6:04 PM
Subscribers
None

Details

Reviewers
emaste
ngie
Summary

Submitted by emaste:

  • Whitespace fixes
  • Remove all warnings and set WARNS=6
  • Make buf generic (origin NetBSD)
    • ffs.c: 1.58
    • ffs/buf.c: 1.18
    • ffs/buf.h: 1.8
  • Comment out increment of blkno in getblk() (origin NetBSD)
    • ffs/buf.c: 1.14

Submitted by smahadevan:

  • fixed bug with bread getting wrong offset and sectorsize (origin NetBSD):
    • ffs.c: 1.59
    • ffs/buf.c: 1.19
    • ffs/buf.h: 1.9
    • ffs/ffs_alloc.c: 1.23
    • ffs/ffs_balloc.c: 1.17
    • ffs/ufs_inode.h: 1.5
    • makefs.h: 1.32
Test Plan

No functionality changes, reran makefs and fstyp tests.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped