mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: he jian bing <hjbsy@yahoo.com.cn>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: puzzled by the code : block_write_full_page()
Date: Fri, 25 Jan 2002 13:55:4 +0800	[thread overview]
Message-ID: <20020125055011Z290544-13996+11716@vger.kernel.org> (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


                 reply	other threads:[~2002-01-25  5:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020125055011Z290544-13996+11716@vger.kernel.org \
    --to=hjbsy@yahoo.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®