Whamcloud - gitweb
In ll_file_read() use (*ppos + count - 1) for end of read instead of the value
authoradilger <adilger>
Tue, 6 Apr 2004 22:29:15 +0000 (22:29 +0000)
committeradilger <adilger>
Tue, 6 Apr 2004 22:29:15 +0000 (22:29 +0000)
commit9802c2f37c1a7095cfb0e75b1b10bca3364b3369
tree9e8b9f46c3cc0fc5210f038e6300f7e84b40dba4
parente3aa92424d72be990c72cc877cc010128dc02a7a
In ll_file_read() use (*ppos + count - 1) for end of read instead of the value
in policy->l_extent.end.  This makes the intent of the comparison more clear,
and avoids any problems if the policy data is ever changed (e.g. to return the
granted extent or similar).

Useful debugging for lock extent problems.
b=2925
lustre/llite/file.c