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
This commit is contained in:
Konstantin Belousov 2012-02-06 11:47:24 +00:00
parent 23ccd3d976
commit b313a71044

View File

@ -12112,6 +12112,7 @@ softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor)
case D_FREEWORK:
case D_FREEDEP:
case D_JSEGDEP:
case D_JNEWBLK:
continue;
default: