aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-11-05 18:48:54 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-11-05 18:48:54 +0000
commit7e76bb562eb8d0697a233e798405f37b4aeb0c6c (patch)
treede03e156782fad9ffef4684a7cf3f1908967e835 /sys/nfsclient
parent93b2ae9fcf399d40b5b0fa3c4792cef61a616d16 (diff)
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_bio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index fae952d88da6..754d56179ad5 100644
--- a/sys/nfsclient/nfs_bio.c
+++ b/sys/nfsclient/nfs_bio.c
@@ -961,6 +961,12 @@ again:
}
vfs_bio_set_validclean(bp, on, n);
}
+ /*
+ * If IO_NOWDRAIN then set B_NOWDRAIN (nfs-backed MD
+ * filesystem)
+ */
+ if (ioflag & IO_NOWDRAIN)
+ bp->b_flags |= B_NOWDRAIN;
/*
* If IO_SYNC do bwrite().