aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 166a833be661..d58bfb81354e 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1078,7 +1078,7 @@ static int nfs_open_revalidate(struct dentry *dentry, struct nameidata *nd)
1078 lock_kernel(); 1078 lock_kernel();
1079 verifier = nfs_save_change_attribute(dir); 1079 verifier = nfs_save_change_attribute(dir);
1080 ret = nfs4_open_revalidate(dir, dentry, openflags, nd); 1080 ret = nfs4_open_revalidate(dir, dentry, openflags, nd);
1081 if (!ret) 1081 if (ret == 1)
1082 nfs_set_verifier(dentry, verifier); 1082 nfs_set_verifier(dentry, verifier);
1083 unlock_kernel(); 1083 unlock_kernel();
1084out: 1084out: