On Mon, Sep 24, 2012 at 04:23:54PM +0400, Dmitry Monakhov wrote:
Uninitialized extent may became initialized(parallel writeback task)
at any moment after we drop i_data_sem, so we have to recheck extent's
state after we hold page's lock and i_data_sem.
If we about to change page's mapping we must hold page's lock in order to
serialize other users.
Changes from V1 in response to Akira's comments:
- fix last block mistype
- Rerutn inital error code
Signed-off-by: Dmitry Monakhov <redacted>
Thanks, applied.
- Ted