NFS: Separate metadata and page cache revalidation mechanisms
[deliverable/linux.git] / fs / nfs / dir.c
index cae74dd4c7f51f6bd674c5e61bad36c415cb4460..1d3d8922a66393fd1f9af82afe66154ec1fc22fb 100644 (file)
@@ -528,7 +528,7 @@ static int nfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
 
        lock_kernel();
 
-       res = nfs_revalidate_inode(NFS_SERVER(inode), inode);
+       res = nfs_revalidate_mapping(inode, filp->f_mapping);
        if (res < 0) {
                unlock_kernel();
                return res;
This page took 0.02527 seconds and 5 git commands to generate.