mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
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:
parent
e4ac68692d
commit
80481fb14e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user