[PATCH V2] xfs: combine xfs_seek_hole & xfs_seek_data

Jeff Liu jeff.liu at oracle.com
Fri Aug 22 06:50:31 CDT 2014


On 08/22/2014 03:23 AM, Eric Sandeen wrote:
> xfs_seek_hole & xfs_seek_data are remarkably similar;
> so much so that they can be combined, saving a fair
> bit of semi-complex code duplication.
> 
> The following patch passes generic/285 and generic/286,
> which specifically test seek behavior.
> 
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>

Looks good to me. 

Reviewed-by: Jie Liu <jeff.liu at oracle.com>


Cheers,
-Jeff



More information about the xfs mailing list