diff --git a/[refs] b/[refs] index f4d8c8347636..3cbceda61aa0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0a5ebc148879be68acdb12fbe72b65cb88c410d9 +refs/heads/master: 216d5d06883edfaf992ada0d72a2a22fdfdbd296 diff --git a/trunk/fs/nfs/dir.c b/trunk/fs/nfs/dir.c index 9ca38ab0e0a7..41b063c98822 100644 --- a/trunk/fs/nfs/dir.c +++ b/trunk/fs/nfs/dir.c @@ -1037,8 +1037,12 @@ static int nfs_open_revalidate(struct dentry *dentry, struct nameidata *nd) /* We can't create new files in nfs_open_revalidate(), so we * optimize away revalidation of negative dentries. */ - if (inode == NULL) + if (inode == NULL) { + if (!nfs_neg_need_reval(dir, dentry, nd)) + ret = 1; goto out; + } + /* NFS only supports OPEN on regular files */ if (!S_ISREG(inode->i_mode)) goto no_open;