diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2021-11-15 06:09:06 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2021-11-15 06:10:16 +0000 |
commit | b366ee4868bca2b3ebe4bb29c9590a29b6cecc29 (patch) | |
tree | 276ea71a89f2e4a1ce8188740b9db583f3f8a369 /lib/libufs/libufs.h | |
parent | f7523c8a19d008412ccc969b12eeb756613f3678 (diff) | |
download | src-b366ee4868bca2b3ebe4bb29c9590a29b6cecc29.tar.gz src-b366ee4868bca2b3ebe4bb29c9590a29b6cecc29.zip |
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
Diffstat (limited to 'lib/libufs/libufs.h')
-rw-r--r-- | lib/libufs/libufs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libufs/libufs.h b/lib/libufs/libufs.h index 8160fdcd68a9..63a8dc170997 100644 --- a/lib/libufs/libufs.h +++ b/lib/libufs/libufs.h @@ -118,12 +118,6 @@ void ffs_update_dinode_ckhash(struct fs *, struct ufs2_dinode *); int ffs_verify_dinode_ckhash(struct fs *, struct ufs2_dinode *); /* - * Request standard superblock location in ffs_sbget - */ -#define STDSB -1 /* Fail if check-hash is bad */ -#define STDSB_NOHASHFAIL -2 /* Ignore check-hash failure */ - -/* * block.c */ ssize_t bread(struct uufsd *, ufs2_daddr_t, void *, size_t); |