puzzled by the code : block_write_full_page()

From: he jian bing (hjbsy@yahoo.com.cn)
Date: Fri Jan 25 2002 - 00:55:04 EST


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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:29 EST