This reverts commit
40719534d5d906f97a6ae7d28a00289270daf2a6.
RHEL5 kernels publish the invalidate_mapping_pages symbol as
EXPORT_SYMBOL_GPL, so we can't use it with them.
For now, revert this change - we can live with the deprecated
warning at present...
Change-Id: I22875683e643c4184bb2c1e06f37d4c6eb9ea0be
Reviewed-on: http://gerrit.openafs.org/1082
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
{
struct inode *ip = AFSTOV(avc);
- invalidate_mapping_pages(ip->i_mapping, 0, -1);
+ invalidate_inode_pages(ip->i_mapping);
}
/* Flush and invalidate pages, for fsync() with INVAL flag