Linux: replace invalidate_inode_pages

This helper has been deprecated for a while, and gets removed
with 2.6.34.
Replace it with invalidate_remote_inode, which has been around for
all of 2.6's life, according to Chaskiel in RT #124377.

Change-Id: I8658b454e1c997c041f654ba55d06f713ea25459
Reviewed-on: http://gerrit.openafs.org/1523
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Marc Dionne 2010-03-05 17:54:42 -05:00 committed by Derrick Brashear
parent e4ac68692d
commit 80481fb14e

View File

@ -67,7 +67,7 @@ osi_VM_TryToSmush(struct vcache *avc, afs_ucred_t *acred, int sync)
{
struct inode *ip = AFSTOV(avc);
invalidate_inode_pages(ip->i_mapping);
invalidate_remote_inode(ip);
}
/* Flush and invalidate pages, for fsync() with INVAL flag