Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269960
b: refs/heads/master
c: ad4778f
h: refs/heads/master
v: v3
  • Loading branch information
Gerlando Falauto authored and Steve French committed Oct 18, 2011
1 parent c6a4a78 commit 404aeb4
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 7748dd6eab8e13f974d4664395e76afffacda04b
refs/heads/master: ad4778fb40994dd7c779069dad6ff704d75b81e6
10 changes: 9 additions & 1 deletion trunk/fs/cifs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,16 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd)
if (direntry->d_inode) {
if (cifs_revalidate_dentry(direntry))
return 0;
else
else {
/*
* Forcibly invalidate automounting directory inodes
* (remote DFS directories) so to have them
* instantiated again for automount
*/
if (IS_AUTOMOUNT(direntry->d_inode))
return 0;
return 1;
}
}

/*
Expand Down

0 comments on commit 404aeb4

Please sign in to comment.