From: Matthew Dillon Date: Fri, 9 May 2008 22:17:43 +0000 (+0000) Subject: HAMMER 42A/Many: Stabilization. X-Git-Tag: v2.0.1~679 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/ee3fed53e90d27cc75977399b50f291193a60b93 HAMMER 42A/Many: Stabilization. * Fix a double call to biodone() when attempting to flush front-end buffer cache buffers associated with a deleted file. A return statement was missing. --- diff --git a/sys/vfs/hammer/hammer_vnops.c b/sys/vfs/hammer/hammer_vnops.c index 86a0058a4e..6318535cdf 100644 --- a/sys/vfs/hammer/hammer_vnops.c +++ b/sys/vfs/hammer/hammer_vnops.c @@ -31,7 +31,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/vfs/hammer/hammer_vnops.c,v 1.50 2008/05/09 07:26:51 dillon Exp $ + * $DragonFly: src/sys/vfs/hammer/hammer_vnops.c,v 1.51 2008/05/09 22:17:43 dillon Exp $ */ #include @@ -1898,6 +1898,7 @@ hammer_dowrite(hammer_cursor_t cursor, hammer_inode_t ip, struct bio *bio) bp->b_resid = 0; biodone(bio); --hammer_bio_count; + return(0); } /*