diff options
author | kib <kib@FreeBSD.org> | 2015-08-07 08:24:12 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-08-07 08:24:12 +0000 |
commit | c63f289a9d1b28271707f52a0d5901c794add6d0 (patch) | |
tree | bb91f1c33266938a00461d1a69a06db68da04dd9 /sys/geom | |
parent | 1ca7d277b176166167430e5cfa98257600c109f3 (diff) | |
download | FreeBSD-src-c63f289a9d1b28271707f52a0d5901c794add6d0.zip FreeBSD-src-c63f289a9d1b28271707f52a0d5901c794add6d0.tar.gz |
Minor style cleanup of the code surrounding r286404.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_io.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index 97a7eef..e72e709 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -517,11 +517,11 @@ g_io_request(struct bio *bp, struct g_consumer *cp) getbinuptime(&bp->bio_t0); #ifdef GET_STACK_USAGE - direct = (cp->flags & G_CF_DIRECT_SEND) && - (pp->flags & G_PF_DIRECT_RECEIVE) && - !g_is_geom_thread(curthread) && - ((pp->flags & G_PF_ACCEPT_UNMAPPED) != 0 || - (bp->bio_flags & BIO_UNMAPPED) == 0 || THREAD_CAN_SLEEP()); + direct = (cp->flags & G_CF_DIRECT_SEND) != 0 && + (pp->flags & G_PF_DIRECT_RECEIVE) != 0 && + !g_is_geom_thread(curthread) && + ((pp->flags & G_PF_ACCEPT_UNMAPPED) != 0 || + (bp->bio_flags & BIO_UNMAPPED) == 0 || THREAD_CAN_SLEEP()); if (direct) { /* Block direct execution if less then half of stack left. */ size_t st, su; |