HomeFreeBSD

Consolodate four copies of the STDSB define into a single place.

Description

Consolodate four copies of the STDSB define into a single place.

The STDSB macro is passed to the ffs_sbget() routine to fetch a
UFS/FFS superblock "from the stadard place". It was identically defined
in lib/libufs/libufs.h, stand/libsa/ufs.c, sys/ufs/ffs/ffs_extern.h,
and sys/ufs/ffs/ffs_subr.c. Delete it from these four files and
define it instead in sys/ufs/ffs/fs.h. All existing uses of this macro
already include sys/ufs/ffs/fs.h so no include changes need to be made.

No functional change intended.

Sponsored by: Netflix

Details

Provenance
mckusickAuthored on Nov 15 2021, 6:09 AM
Parents
rGf7523c8a19d0: iser: Remove redundant linuxkpi MODULE_DEPEND
Branches
Unknown
Tags
Unknown