mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* puzzled by the code : block_write_full_page()
@ 2002-01-25  5:55 he jian bing
  0 siblings, 0 replies; only message in thread
From: he jian bing @ 2002-01-25  5:55 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-25  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-25  5:55 puzzled by the code : block_write_full_page() he jian bing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®