summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-02-06 11:47:24 +0000
committerkib <kib@FreeBSD.org>2012-02-06 11:47:24 +0000
commit30173a81902ff4f4299159c43f9d8705f2c63ea2 (patch)
treeef01ac455a9d4a2b4598098323d865f8a7e5cd58 /sys/ufs/ffs
parentd050a38ab423c57cd15f6818d1d27faf9a35b352 (diff)
downloadFreeBSD-src-30173a81902ff4f4299159c43f9d8705f2c63ea2.zip
FreeBSD-src-30173a81902ff4f4299159c43f9d8705f2c63ea2.tar.gz
JNEWBLK dependency may legitimately appear on the buf dependency
list. If softdep_sync_buf() discovers such dependency, it should do nothing, which is safe as it is only waiting on the parent buffer to be written, so it can be removed. Committed on behalf of: jeff MFC after: 1 week
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 5b4b6b9..7b79b7e 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -12112,6 +12112,7 @@ top:
case D_FREEWORK:
case D_FREEDEP:
case D_JSEGDEP:
+ case D_JNEWBLK:
continue;
default:
OpenPOWER on IntegriCloud