commit | 49c69591c80648c14ff87525e97ee6ebe3a343cb | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@sandeen.net> | Tue Sep 09 11:56:48 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Tue Sep 09 11:56:48 2014 +1000 |
tree | 55d217ff0eb9ec2f152ba5a980fbf92d93fff091 | |
parent | 2e2271787419a12496bf5da5c3028a9c73c9697f [diff] |
xfs: combine xfs_seek_hole & xfs_seek_data 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@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>