summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_inode.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
committerjulian <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
commit4363221ba26e1c75ed511a0f0865f846907e9872 (patch)
treeccd3e1b781efc6b15bb2a815e23ac9efbb3eea8b /sys/ufs/ffs/ffs_inode.c
parent1502eaffb37d04a2a82d6efdb9ddedbfdeb64f8d (diff)
downloadFreeBSD-src-4363221ba26e1c75ed511a0f0865f846907e9872.zip
FreeBSD-src-4363221ba26e1c75ed511a0f0865f846907e9872.tar.gz
VOP_STRATEGY grows an (struct vnode *) argument
as the value in b_vp is often not really what you want. (and needs to be frobbed). more cleanups will follow this. Reviewed by: Bruce Evans <bde@freebsd.org>
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 df06020..c15c440 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_inode.c 8.13 (Berkeley) 4/21/95
- * $Id: ffs_inode.c,v 1.44 1998/07/03 18:46:47 bde Exp $
+ * $Id: ffs_inode.c,v 1.45 1998/07/03 22:16:57 bde Exp $
*/
#include "opt_quota.h"
@@ -459,7 +459,7 @@ ffs_indirtrunc(ip, lbn, dbn, lastbn, level, countp)
panic("ffs_indirtrunc: bad buffer size");
bp->b_blkno = dbn;
vfs_busy_pages(bp, 0);
- VOP_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
error = biowait(bp);
}
if (error) {
OpenPOWER on IntegriCloud