puzzled by the code : block_write_full_page()

he jian bing (hjbsy@yahoo.com.cn)
Fri, 25 Jan 2002 13:55:4 +0800


Hello all,
I have a question with the following kernel code (fs/buffer.c):

block_write_full_page(struct page *page, get_block_t *get_block)
{
......
/* OK, are we completely out? */
if (page->index >= end_index+1 || !offset) {
UnlockPage(page);
return -EIO;
}
......
}

If the above code is executed, and it return -EIO, where the kernel will use this return
code? and we really arrive here?

thanks.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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/