diff options
author | phk <phk@FreeBSD.org> | 2002-05-05 20:37:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-05 20:37:08 +0000 |
commit | 5020d62430941b5ce79ce6a4fdb7a1d4f03cb13f (patch) | |
tree | 2609a18365c693b4ee1ad5f36f115b861d42d3d8 /sys/kern/vfs_subr.c | |
parent | f075f5e39a8173de8899f4f6c4ba7a2529686a96 (diff) | |
download | FreeBSD-src-5020d62430941b5ce79ce6a4fdb7a1d4f03cb13f.zip FreeBSD-src-5020d62430941b5ce79ce6a4fdb7a1d4f03cb13f.tar.gz |
Expand the one-line function pbreassignbuf() the only place it is or could
be used.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index c7d5c54..6ec9007 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1442,20 +1442,6 @@ pbrelvp(bp) } /* - * Change the vnode a pager buffer is associated with. - */ -void -pbreassignbuf(bp, newvp) - struct buf *bp; - struct vnode *newvp; -{ - - KASSERT(bp->b_flags & B_PAGING, - ("pbreassignbuf() on non phys bp %p", bp)); - bp->b_vp = newvp; -} - -/* * Reassign a buffer from one vnode to another. * Used to assign file specific control information * (indirect blocks) to the vnode to which they belong. |