mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* The meaning of first_logical_block in do_mpage_readpage
@ 2007-10-21  8:03 Nai XIA
  2007-10-21  9:40 ` Nai XIA
  0 siblings, 1 reply; 2+ messages in thread
From: Nai XIA @ 2007-10-21  8:03 UTC (permalink / raw)
  To: linux-kernel

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-21  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-21  8:03 The meaning of first_logical_block in do_mpage_readpage Nai XIA
2007-10-21  9:40 ` Nai XIA

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®