Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230862
b: refs/heads/master
c: 657e94b
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin committed Jan 14, 2011
1 parent 925d664 commit c2f1628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c6755988afc003a0332406a134fb6a1626f9b28
refs/heads/master: 657e94b673a805b427903c5628e95348235fad06
6 changes: 5 additions & 1 deletion trunk/fs/nfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1410,11 +1410,15 @@ static struct dentry *nfs_atomic_lookup(struct inode *dir, struct dentry *dentry
static int nfs_open_revalidate(struct dentry *dentry, struct nameidata *nd)
{
struct dentry *parent = NULL;
struct inode *inode = dentry->d_inode;
struct inode *inode;
struct inode *dir;
struct nfs_open_context *ctx;
int openflags, ret = 0;

if (nd->flags & LOOKUP_RCU)
return -ECHILD;

inode = dentry->d_inode;
if (!is_atomic_open(nd) || d_mountpoint(dentry))
goto no_open;

Expand Down

0 comments on commit c2f1628

Please sign in to comment.