Jan Kara d7fd24257a xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()
There is an off-by-one error in loop termination conditions in
xfs_find_get_desired_pgoff() since 'end' may index a page beyond end of
desired range if 'endoff' is page aligned. It doesn't have any visible
effects but still it is good to fix it.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-05-25 09:42:25 -07:00
..
2017-04-03 15:18:17 -07:00
2017-05-06 11:46:16 -07:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2017-05-06 11:46:16 -07:00
2017-04-03 15:18:17 -07:00
2017-05-06 11:46:16 -07:00
2017-04-25 09:40:41 -07:00
2017-04-03 15:18:17 -07:00
2017-05-06 11:46:16 -07:00