summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-22 10:24:41 +0000
committerphk <phk@FreeBSD.org>2003-07-22 10:24:41 +0000
commitc4a9334fa698660a5dd1a0c4fddb61ed0893fc58 (patch)
tree822136a990d18001b2db563f705887b258e810ce /sys/kern/vfs_cluster.c
parentb5408a3e8f054d75ddbda2e0f17add2667916d6d (diff)
downloadFreeBSD-src-c4a9334fa698660a5dd1a0c4fddb61ed0893fc58.zip
FreeBSD-src-c4a9334fa698660a5dd1a0c4fddb61ed0893fc58.tar.gz
Don't attempt to inline large functions mb_alloc() and mb_free(),
it more than doubles the text size of this file. GCC has wisely ignored us on this previously
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index ad0b55d..34dffbb 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -239,7 +239,7 @@ cluster_read(vp, filesize, lblkno, size, cred, totread, seqcount, bpp)
bp->b_ioflags &= ~BIO_ERROR;
if ((bp->b_flags & B_ASYNC) || bp->b_iodone != NULL)
BUF_KERNPROC(bp);
- error = VOP_STRATEGY(vp, bp);
+ error = BUF_STRATEGY(bp);
curproc->p_stats->p_ru.ru_inblock++;
if (error)
return (error);
@@ -293,7 +293,7 @@ cluster_read(vp, filesize, lblkno, size, cred, totread, seqcount, bpp)
rbp->b_ioflags &= ~BIO_ERROR;
if ((rbp->b_flags & B_ASYNC) || rbp->b_iodone != NULL)
BUF_KERNPROC(rbp);
- (void) VOP_STRATEGY(vp, rbp);
+ BUF_STRATEGY(rbp);
curproc->p_stats->p_ru.ru_inblock++;
}
OpenPOWER on IntegriCloud