]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In preparation for adding inode check-hashes, clean up and
authormckusick <mckusick@FreeBSD.org>
Tue, 13 Nov 2018 21:40:56 +0000 (21:40 +0000)
committermckusick <mckusick@FreeBSD.org>
Tue, 13 Nov 2018 21:40:56 +0000 (21:40 +0000)
commit80199cdcb44cadfaebbea90c08824bba23ecf705
tree0f73178df156f836c4d9dde3af92b526b95c4e72
parentda67d6603ff3e0827a6cbb1d0d3e0fdef8ccc602
In preparation for adding inode check-hashes, clean up and
document the libufs interface for fetching and storing inodes.
The undocumented getino / putino interface has been replaced
with a new getinode / putinode interface.

Convert the utilities that had been using the undocumented
interface to use the new documented interface.

No functional change (as for now the libufs library does not
do inode check-hashes).

Reviewed by:  kib
Tested by:    Peter Holm
Sponsored by: Netflix
23 files changed:
lib/libufs/Makefile
lib/libufs/getinode.3 [new file with mode: 0644]
lib/libufs/inode.c
lib/libufs/libufs.h
sbin/clri/clri.c
sbin/ffsinfo/ffsinfo.c
sbin/fsck_ffs/dir.c
sbin/fsck_ffs/fsck.h
sbin/fsck_ffs/gjournal.c
sbin/fsck_ffs/inode.c
sbin/fsck_ffs/main.c
sbin/fsck_ffs/pass5.c
sbin/fsirand/fsirand.c
sbin/growfs/growfs.c
sbin/newfs/mkfs.c
sbin/tunefs/tunefs.c
sys/ufs/ffs/ffs_extern.h
sys/ufs/ffs/ffs_inode.c
sys/ufs/ffs/ffs_snapshot.c
sys/ufs/ffs/ffs_softdep.c
sys/ufs/ffs/ffs_subr.c
sys/ufs/ffs/ffs_vfsops.c
tools/diag/prtblknos/main.c