Skip to contentSkip to conversation

puzzled by the code : block_write_full_page()

DISCUSSION he jian bing 1 participant 1 message Jan 25, 2002

lore
Share & tools
lore
#0 lore raw

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