aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2022-11-10 02:30:25 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2022-11-10 02:31:19 +0000
commit689a9368eb60f061e10e1924f388b99e8f6c2cb2 (patch)
tree2c3665340cfda6bf9c684f0e49661e913976f4cf /sbin/fsck_ffs
parent813c5b75e68073a724fdc032b24a12baeab8f6d9 (diff)
downloadsrc-689a9368eb60f061e10e1924f388b99e8f6c2cb2.tar.gz
src-689a9368eb60f061e10e1924f388b99e8f6c2cb2.zip
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/fsck.h4
-rw-r--r--sbin/fsck_ffs/fsutil.c2
-rw-r--r--sbin/fsck_ffs/inode.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index a00fedd9ef90..7e714d8d7085 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -469,7 +469,7 @@ int ckinode(union dinode *dp, struct inodesc *);
void clri(struct inodesc *, const char *type, int flag);
int clearentry(struct inodesc *);
void copyonwrite(struct fs *, struct bufarea *,
- ufs2_daddr_t (*checkblkavail)(long, long));
+ ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t, long));
void direrror(ino_t ino, const char *errmesg);
int dirscan(struct inodesc *);
int dofix(struct inodesc *, const char *msg);
@@ -525,7 +525,7 @@ int setup(char *dev);
int snapblkfree(struct fs *, ufs2_daddr_t, long, ino_t,
ufs2_daddr_t (*)(ufs2_daddr_t, long));
void snapremove(ino_t);
-void snapflush(ufs2_daddr_t (*checkblkavail)(long, long));
+void snapflush(ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t, long));
ufs2_daddr_t std_checkblkavail(ufs2_daddr_t blkno, long frags);
ufs2_daddr_t suj_checkblkavail(ufs2_daddr_t, long);
int suj_check(const char *filesys);
diff --git a/sbin/fsck_ffs/fsutil.c b/sbin/fsck_ffs/fsutil.c
index 5be058dc40c2..7a8dc68cac89 100644
--- a/sbin/fsck_ffs/fsutil.c
+++ b/sbin/fsck_ffs/fsutil.c
@@ -522,7 +522,7 @@ flush(int fd, struct bufarea *bp)
* the snapshots, no further snapshot copies will need to be done.
*/
void
-snapflush(ufs2_daddr_t (*checkblkavail)(long, long))
+snapflush(ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t, long))
{
struct bufarea *bp;
int cnt;
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 1d36a6ca3e45..85fa6ae8ec1d 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -61,7 +61,7 @@ static ufs2_daddr_t indir_blkatoff(ufs2_daddr_t, ino_t, ufs_lbn_t, ufs_lbn_t,
struct bufarea **);
static int snapclean(struct inodesc *idesc);
static void chkcopyonwrite(struct fs *, ufs2_daddr_t,
- ufs2_daddr_t (*checkblkavail)(long, long));
+ ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t, long));
int
ckinode(union dinode *dp, struct inodesc *idesc)
@@ -804,7 +804,7 @@ snapblkfree(fs, bno, size, inum, checkblkavail)
ufs2_daddr_t bno;
long size;
ino_t inum;
- ufs2_daddr_t (*checkblkavail)(long cg, long frags);
+ ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t blkno, long frags);
{
union dinode *dp;
struct inode ip;
@@ -934,7 +934,7 @@ void
copyonwrite(fs, bp, checkblkavail)
struct fs *fs;
struct bufarea *bp;
- ufs2_daddr_t (*checkblkavail)(long cg, long frags);
+ ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t blkno, long frags);
{
ufs2_daddr_t copyblkno;
long i, numblks;
@@ -957,7 +957,7 @@ static void
chkcopyonwrite(fs, copyblkno, checkblkavail)
struct fs *fs;
ufs2_daddr_t copyblkno;
- ufs2_daddr_t (*checkblkavail)(long cg, long frags);
+ ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t blkno, long frags);
{
struct inode ip;
union dinode *dp;