path: root/lib/libufs/libufs.h
diff options
authorKirk McKusick <mckusick@FreeBSD.org>2020-09-19 22:48:30 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2020-09-19 22:48:30 +0000
commit85ee267a3eb58f9aa1a73a1abcf033c5c460b324 (patch)
tree76560a561871fae0dc3150bedadc7fd8751ceb9c /lib/libufs/libufs.h
parenta29c0348f0653c25adb65e340e6f5a7edc86b8a2 (diff)
Update the libufs cgget() and cgput() interfaces to have a similar
API to the sbget() and sbput() interfaces. Specifically they take a file descriptor pointer rather than the struct uufsd *disk pointer used by the libufs cgread() and cgwrite() interfaces. Update fsck_ffs to use these revised interfaces. No functional changes intended. Sponsored by: Netflix
Notes: svn path=/head/; revision=365919
Diffstat (limited to 'lib/libufs/libufs.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libufs/libufs.h b/lib/libufs/libufs.h
index ad990bbc0930..8160fdcd68a9 100644
--- a/lib/libufs/libufs.h
+++ b/lib/libufs/libufs.h
@@ -136,8 +136,8 @@ int berase(struct uufsd *, ufs2_daddr_t, ufs2_daddr_t);
ufs2_daddr_t cgballoc(struct uufsd *);
int cgbfree(struct uufsd *, ufs2_daddr_t, long);
ino_t cgialloc(struct uufsd *);
-int cgget(struct uufsd *, int, struct cg *);
-int cgput(struct uufsd *, struct cg *);
+int cgget(int, struct fs *, int, struct cg *);
+int cgput(int, struct fs *, struct cg *);
int cgread(struct uufsd *);
int cgread1(struct uufsd *, int);
int cgwrite(struct uufsd *);