That certainly stops it happening. Does anybody think that extending
i_size in this particular corner case is harmful?
As Alan said, the bug is the file system committing metadata too early,
and I suspect that ext2 is not the only culprit.
-- Adrian Cox http://www.humboldt.co.uk/- 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/