diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-09-23 17:28:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-07 17:41:17 -0400 |
commit | 4dc05efb86239321d43a9d74fd2ecd5c21bfc2ad (patch) | |
tree | 3075ff7f73fd2cd85d2fcf055ec201e9ffac1cff /mm/mmu_notifier.c | |
parent | d65f557f39448c2d9e58cd564037b81e646aed2c (diff) |
NFS: Convert __nfs_revalidate_inode() to use nfs_refresh_inode()
In the case where there are parallel RPC calls to the same inode, we may
receive stale metadata due to the lack of ordering, hence the sanity
checking of metadata in nfs_refresh_inode().
Currently, __nfs_revalidate_inode() is calling nfs_update_inode() directly,
without any further sanity checks, and hence may end up setting the inode
up with stale metadata.
Fix is to use nfs_refresh_inode() instead of nfs_update_inode().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions