diff options
author | Jan Kara <jack@suse.cz> | 2017-05-19 01:36:24 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-05-25 18:42:25 +0200 |
commit | a54fba8f5a0dc36161cacdf2aa90f007f702ec1a (patch) | |
tree | 1a49d87ea7aa86cf684e603410ca5e359d72dc7f /drivers/watchdog/it8712f_wdt.c | |
parent | xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff() (diff) | |
download | linux-a54fba8f5a0dc36161cacdf2aa90f007f702ec1a.tar.xz linux-a54fba8f5a0dc36161cacdf2aa90f007f702ec1a.zip |
xfs: Move handling of missing page into one place in xfs_find_get_desired_pgoff()
Currently several places in xfs_find_get_desired_pgoff() handle the case
of a missing page. Make them all handled in one place after the loop has
terminated.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
0 files changed, 0 insertions, 0 deletions