]> Git Repo - linux.git/commit
xfs: Move handling of missing page into one place in xfs_find_get_desired_pgoff()
authorJan Kara <[email protected]>
Thu, 18 May 2017 23:36:24 +0000 (16:36 -0700)
committerDarrick J. Wong <[email protected]>
Thu, 25 May 2017 16:42:25 +0000 (09:42 -0700)
commita54fba8f5a0dc36161cacdf2aa90f007f702ec1a
tree1a49d87ea7aa86cf684e603410ca5e359d72dc7f
parentd7fd24257aa60316bf81093f7f909dc9475ae974
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/xfs_file.c
This page took 0.051456 seconds and 4 git commands to generate.