lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 21 Oct 2007 16:03:47 +0800
From:	"Nai XIA" <nelson.xia@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: The meaning of first_logical_block in do_mpage_readpage

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!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ