diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-02 20:55:48 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-02 20:55:48 +0000 |
commit | 88d36404cb5c193152a984ab731c0849707fc48a (patch) | |
tree | 150d508eacf80464d9fa23475ecc6c21230cecf0 | |
parent | 04385a58986cdf454f881dc59db637d05da54f43 (diff) |
Indentation to make the code more readable.
-rw-r--r-- | sys/kern/vfs_bio.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 465258ae403..f6fad6d3201 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_bio.c,v 1.24 1999/09/10 22:14:39 art Exp $ */ +/* $OpenBSD: vfs_bio.c,v 1.25 1999/12/02 20:55:47 art Exp $ */ /* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */ /*- @@ -855,11 +855,13 @@ biodone(bp) if (ISSET(bp->b_flags, B_CALL)) { /* if necessary, call out */ CLR(bp->b_flags, B_CALL); /* but note callout done */ (*bp->b_iodone)(bp); - } else if (ISSET(bp->b_flags, B_ASYNC)) /* if async, release it */ - brelse(bp); - else { /* or just wakeup the buffer */ - CLR(bp->b_flags, B_WANTED); - wakeup(bp); + } else { + if (ISSET(bp->b_flags, B_ASYNC)) {/* if async, release it */ + brelse(bp); + } else { /* or just wakeup the buffer */ + CLR(bp->b_flags, B_WANTED); + wakeup(bp); + } } } |