summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-04-29 12:36:52 +0000
committerphk <phk@FreeBSD.org>2001-04-29 12:36:52 +0000
commit8e3fa89968253688c69354328c0c8c9aa765ee6b (patch)
treea9929c6714ce54047cee9e12f32d2b8f21654fe7 /sys/gnu/fs
parent608c1caf3bebcc3d9b0a01af62a7f57d2c6427ea (diff)
downloadFreeBSD-src-8e3fa89968253688c69354328c0c8c9aa765ee6b.zip
FreeBSD-src-8e3fa89968253688c69354328c0c8c9aa765ee6b.tar.gz
VOP_BALLOC was never really a VOP in the first place, so convert it
to UFS_BALLOC like the other "between UFS and FFS function interfaces".
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_mount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h
index f5b93f5..530715d 100644
--- a/sys/gnu/fs/ext2fs/ext2_mount.h
+++ b/sys/gnu/fs/ext2fs/ext2_mount.h
@@ -96,6 +96,7 @@ struct ufsmount {
int64_t um_savedmaxfilesize; /* XXX - limit maxfilesize */
struct malloc_type *um_malloctype; /* The inodes malloctype */
int um_i_effnlink_valid; /* i_effnlink valid? */
+ int (*um_balloc) __P((struct vnode *, off_t, int, struct ucred *, int, struct buf **));
int (*um_blkatoff) __P((struct vnode *, off_t, char **, struct buf **));
int (*um_truncate) __P((struct vnode *, off_t, int, struct ucred *, struct proc *));
int (*um_update) __P((struct vnode *, int));
@@ -103,6 +104,7 @@ struct ufsmount {
int (*um_vfree) __P((struct vnode *, ino_t, int));
};
+#define UFS_BALLOC(aa, bb, cc, dd, ee, ff) VFSTOUFS((aa)->v_mount)->um_balloc(aa, bb, cc, dd, ee, ff)
#define UFS_BLKATOFF(aa, bb, cc, dd) VFSTOUFS((aa)->v_mount)->um_blkatoff(aa, bb, cc, dd)
#define UFS_TRUNCATE(aa, bb, cc, dd, ee) VFSTOUFS((aa)->v_mount)->um_truncate(aa, bb, cc, dd, ee)
#define UFS_UPDATE(aa, bb) VFSTOUFS((aa)->v_mount)->um_update(aa, bb)
OpenPOWER on IntegriCloud