From: "Nai XIA" <nelson.xia@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: The meaning of first_logical_block in do_mpage_readpage
Date: Sun, 21 Oct 2007 16:03:47 +0800 [thread overview]
Message-ID: <ef242d300710210103x1a8ec38ev7b0d1e93a5739ecb@mail.gmail.com> (raw)
hi, it may be a stupid question, but I am not quite clear about what
"first_logical_block" is used for as one of parameters of
"do_mpage_readpage".
I searched all the source code and I found that "first_logical_block"
always equals zero when passed to "do_mpage_readpage" and is used
only in scope of "do_mpage_readpage".
This makes me wonder about:
1. when should "first_logical_block" passed as non-zero values ?
2. why "first_logical_block" is one of args of "do_mpage_readpage"
instead of being a local variable of it ? ( it seems that no one uses
"first_logical_block" outside "do_mpage_readpage")
Anyone can help me out .
Thanks in advance!
next reply other threads:[~2007-10-21 8:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-21 8:03 Nai XIA [this message]
2007-10-21 9:40 ` Nai XIA
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=ef242d300710210103x1a8ec38ev7b0d1e93a5739ecb@mail.gmail.com \
--to=nelson.xia@gmail.com \
--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®