[PATCH]mm __page_symlink retry loop error code fix

2007-02-15 Thread Dmitriy Monakhov
If prepare_write or commit_write return AOP_TRUNCATED_PAGE we jump to "retry" label and than if find_or_create_page() failed function return incorrect error code. Initilally i've add this fix as a part of prepare_write_retval patch, but IMHO it is better to split this to separate fix. Patch

[PATCH]mm __page_symlink retry loop error code fix

2007-02-15 Thread Dmitriy Monakhov
If prepare_write or commit_write return AOP_TRUNCATED_PAGE we jump to retry label and than if find_or_create_page() failed function return incorrect error code. Initilally i've add this fix as a part of prepare_write_retval patch, but IMHO it is better to split this to separate fix. Patch against