diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-23 02:07:58 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-23 02:07:58 +0000 |
commit | 883624e9986baee8db2f3d68ff2471c6ca9beb00 (patch) | |
tree | 14f1b386656e0a15b52019132dc8f139762c1778 /sys/ufs/ext2fs/ext2fs_balloc.c | |
parent | 1c7daffba6f64b26bd7e1427cf933c1365bec83f (diff) |
Privatize several vnode operations that are not used by the generic code.
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_balloc.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_balloc.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_balloc.c b/sys/ufs/ext2fs/ext2fs_balloc.c index f45e8a6781e..f105424b2a9 100644 --- a/sys/ufs/ext2fs/ext2fs_balloc.c +++ b/sys/ufs/ext2fs/ext2fs_balloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_balloc.c,v 1.4 1999/01/11 05:12:36 millert Exp $ */ +/* $OpenBSD: ext2fs_balloc.c,v 1.5 2001/06/23 02:07:50 csapuntz Exp $ */ /* $NetBSD: ext2fs_balloc.c,v 1.1 1997/06/11 09:33:44 bouyer Exp $ */ /* @@ -60,16 +60,11 @@ * the inode and the logical block number in a file. */ int -ext2fs_balloc(ip, bn, size, cred, bpp, flags) - register struct inode *ip; - register daddr_t bn; - int size; - struct ucred *cred; - struct buf **bpp; - int flags; +ext2fs_buf_alloc(struct inode *ip, daddr_t bn, int size, struct ucred *cred, + struct buf **bpp, int flags) { - register struct m_ext2fs *fs; - register daddr_t nb; + struct m_ext2fs *fs; + daddr_t nb; struct buf *bp, *nbp; struct vnode *vp = ITOV(ip); struct indir indirs[NIADDR + 2]; |