Hmmm, a quick glance makes the test in ext2_put_inode look unsafe.
iput calls put_inode before decrementing i_count. So, nothing stops 5
iput callers from all deciding i_count > 2 and leaving the preallocation
blocks hanging.
Also, a knfsd triggered iget/iput pair should hit the same race with an
put_inode call.
Or am I missing something?
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/