Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105467
b: refs/heads/master
c: eb3b176
h: refs/heads/master
i:
  105465: 0838891
  105463: 760684a
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed Jul 24, 2008
1 parent ca77094 commit f04907b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 296f7bf78bc5c7a4d772aea580ce800d14040d1a
refs/heads/master: eb3b176796b0e53fd26fce86847231542eb0d198
4 changes: 4 additions & 0 deletions trunk/fs/autofs4/waitq.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
if (sbi->catatonic)
return -ENOENT;

if (!dentry->d_inode &&
(sbi->type & (AUTOFS_TYPE_DIRECT | AUTOFS_TYPE_OFFSET)))
return -ENOENT;

name = kmalloc(NAME_MAX + 1, GFP_KERNEL);
if (!name)
return -ENOMEM;
Expand Down

0 comments on commit f04907b

Please sign in to comment.