Bring another softupdates fix in from FreeBSD, FreeBSD commit message:
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 14 Oct 2005 23:45:59 +0000 (23:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 14 Oct 2005 23:45:59 +0000 (23:45 +0000)
commit83b29fff90cd1f279486c0672b7adbe946b26672
treea11d5fc98283e5bdfbe00fc9c4558682286a4ab2
parenta0ff2e99c8198e01a3a66ae3eaef2bd67f7d2cd4
Bring another softupdates fix in from FreeBSD, FreeBSD commit message:
 Retain generation count when writing zeroes instead of an inode to disk.

 Don't free a struct inodedep if another process is allocating saved inode
 memory for the same struct inodedep in initiate_write_inodeblock_ufs[12]().

 Handle disappearing dependencies in softdep_disk_io_initiation().

Taken-from: FreeBSD/1.184
Author: tegge
sys/vfs/ufs/ffs_softdep.c