summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_inode.c
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/ufs/ffs/ffs_inode.c
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/ufs/ffs/ffs_inode.c')
-rw-r--r--sys/ufs/ffs/ffs_inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c
index 2395ec4..7a3c7ee 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -214,7 +214,7 @@ ffs_truncate(vp, length, flags, cred, p)
aflags = B_CLRBUF;
if (flags & IO_SYNC)
aflags |= B_SYNC;
- error = VOP_BALLOC(ovp, length - 1, 1,
+ error = UFS_BALLOC(ovp, length - 1, 1,
cred, aflags, &bp);
if (error)
return (error);
@@ -244,7 +244,7 @@ ffs_truncate(vp, length, flags, cred, p)
aflags = B_CLRBUF;
if (flags & IO_SYNC)
aflags |= B_SYNC;
- error = VOP_BALLOC(ovp, length - 1, 1, cred, aflags, &bp);
+ error = UFS_BALLOC(ovp, length - 1, 1, cred, aflags, &bp);
if (error) {
return (error);
}
OpenPOWER on IntegriCloud