mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Revert "Linux: Replace invalidate_inode_pages"
This reverts commit 40719534d5
.
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>
This commit is contained in:
parent
165571947b
commit
9a08865c36
@ -67,7 +67,7 @@ osi_VM_TryToSmush(struct vcache *avc, afs_ucred_t *acred, int sync)
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user