From: Eric Sandeen Date: Tue, 9 Sep 2014 01:56:48 +0000 (+1000) Subject: xfs: combine xfs_seek_hole & xfs_seek_data X-Git-Tag: omap-for-v3.19/prcm-cleanup~101^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c69591c80648c14ff87525e97ee6ebe3a343cb;p=pandora-kernel.git 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 Reviewed-by: Brian Foster Reviewed-by: Jie Liu Signed-off-by: Dave Chinner --- Reading git-diff-tree failed