Unbreak detection of the async mode for clustered writes after r231075.

Submitted by:	bde
MFC after:	12 days
This commit is contained in:
Konstantin Belousov 2012-02-08 15:07:19 +00:00
parent afdbac98df
commit 9cfb2326bc

View File

@ -604,7 +604,7 @@ cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount)
int async;
if (vp->v_type == VREG) {
async = vp->v_mount->mnt_kern_flag & MNTK_ASYNC;
async = DOINGASYNC(vp);
lblocksize = vp->v_mount->mnt_stat.f_iosize;
} else {
async = 0;