Files
linux/fs/xfs
Jan Kara b5ff97c774 xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()
commit d7fd24257a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-07 12:10:17 +02:00
..
2017-03-07 20:10:50 -08:00
2017-03-07 20:10:50 -08:00
2016-10-04 18:06:40 -07:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2011-08-12 16:21:35 -05:00
2013-05-07 18:45:36 -05:00
2017-06-07 12:10:16 +02:00
2017-06-07 12:10:16 +02:00
2013-05-07 18:45:36 -05:00