diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-11 21:51:56 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2013-06-11 21:51:56 +0000 |
commit | cd87a702480f32ec4a472de5f0a77858ae410181 (patch) | |
tree | cd76d2922f4c6bb4be02de31d56b65fb5b6ce3c0 /sys/kern/vfs_biomem.c | |
parent | 1aa094ff74fcf42f3745741419a8609e573826b5 (diff) |
sprinkle knf fairy dust over new buf code
Diffstat (limited to 'sys/kern/vfs_biomem.c')
-rw-r--r-- | sys/kern/vfs_biomem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_biomem.c b/sys/kern/vfs_biomem.c index 1b68aed642d..51dd8261b9c 100644 --- a/sys/kern/vfs_biomem.c +++ b/sys/kern/vfs_biomem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_biomem.c,v 1.24 2013/06/11 19:01:20 beck Exp $ */ +/* $OpenBSD: vfs_biomem.c,v 1.25 2013/06/11 21:51:55 tedu Exp $ */ /* * Copyright (c) 2007 Artur Grabowski <art@openbsd.org> * Copyright (c) 2012,2013 Bob Beck <beck@openbsd.org> @@ -333,6 +333,7 @@ buf_realloc_pages(struct buf *bp, struct uvm_constraint_range *where, vaddr_t va; int dma; int i, r; + KASSERT(!(flags & UVM_PLA_WAITOK) ^ !(flags & UVM_PLA_NOWAIT)); splassert(IPL_BIO); |