From 2a4fccbbf508ab92a3b17dc225947ab3255b9e31 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Thu, 27 Oct 2005 22:12:41 -0400 Subject: [PATCH] --- yaml --- r: 10121 b: refs/heads/master c: 3338c143b4fde2d256016b63043ec8e2c93eba19 h: refs/heads/master i: 10119: da5107a87a71732e082f441aa52fd707fc95f19d v: v3 --- [refs] | 2 +- trunk/fs/nfs/file.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 99c5e0e4d0db..e3aa98741149 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56ae19f38f10aad4f27f7e12138a29b295dff07a +refs/heads/master: 3338c143b4fde2d256016b63043ec8e2c93eba19 diff --git a/trunk/fs/nfs/file.c b/trunk/fs/nfs/file.c index 572d8593486f..57d3e77d97ee 100644 --- a/trunk/fs/nfs/file.c +++ b/trunk/fs/nfs/file.c @@ -205,8 +205,8 @@ nfs_file_flush(struct file *file) if (!status) { status = ctx->error; ctx->error = 0; - if (!status && !nfs_have_delegation(inode, FMODE_READ)) - __nfs_revalidate_inode(NFS_SERVER(inode), inode); + if (!status) + nfs_revalidate_inode(NFS_SERVER(inode), inode); } unlock_kernel(); return status;