]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfs/nfs4proc.c
NFS: Fake up 'wcc' attributes to prevent cache invalidation after write
[karo-tx-linux.git] / fs / nfs / nfs4proc.c
index d311984d2c8890c46e603b1ff1c6ebe621eba6d3..796bc8ea7194c298e1b631e2ca1d47369f628bd1 100644 (file)
@@ -2427,7 +2427,7 @@ static int nfs4_write_done(struct rpc_task *task, struct nfs_write_data *data)
        }
        if (task->tk_status >= 0) {
                renew_lease(NFS_SERVER(inode), data->timestamp);
-               nfs_post_op_update_inode(inode, data->res.fattr);
+               nfs_post_op_update_inode_force_wcc(inode, data->res.fattr);
        }
        return 0;
 }