xfs: Introduce a helper routine to probe data or hole offset from page cache
authorJeff Liu <jeff.liu@oracle.com>
Tue, 21 Aug 2012 09:11:57 +0000 (17:11 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 24 Aug 2012 18:55:09 +0000 (13:55 -0500)
commitd126d43f631f996daeee5006714fed914be32368
tree8a243022fc6cf208cf7e925e5ec2864c3201e2bd
parent834ab12228fad777a11007a24cb6286b02c9a41c
xfs: Introduce a helper routine to probe data or hole offset from page cache

Introduce helpers to probe data or hole offset from page cache.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_file.c