Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234038
b: refs/heads/master
c: 9177ada
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Mar 10, 2011
1 parent a1b35b9 commit 7e12b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8ce84eeb5b40da21f20174dd25891a8409534237
refs/heads/master: 9177ada99d5e69fe91950b3ef5c23f2bcd109987
4 changes: 2 additions & 2 deletions trunk/fs/fat/namei_vfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int vfat_revalidate_shortname(struct dentry *dentry)

static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd)
{
if (nd->flags & LOOKUP_RCU)
if (nd && nd->flags & LOOKUP_RCU)
return -ECHILD;

/* This is not negative dentry. Always valid. */
Expand All @@ -54,7 +54,7 @@ static int vfat_revalidate(struct dentry *dentry, struct nameidata *nd)

static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd)
{
if (nd->flags & LOOKUP_RCU)
if (nd && nd->flags & LOOKUP_RCU)
return -ECHILD;

/*
Expand Down

0 comments on commit 7e12b2d

Please sign in to comment.