Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95677
b: refs/heads/master
c: cab0936
h: refs/heads/master
i:
  95675: 89b9b0c
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed May 1, 2008
1 parent d5119ab commit ce65f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: afec570c32a0d116e3c68af583ed1d11110f12fc
refs/heads/master: cab0936aac8aa907c6bb814c2cf26385478f254b
2 changes: 1 addition & 1 deletion trunk/fs/autofs4/waitq.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int autofs4_getpath(struct autofs_sb_info *sbi,
for (tmp = dentry ; tmp != root ; tmp = tmp->d_parent)
len += tmp->d_name.len + 1;

if (--len > NAME_MAX) {
if (!len || --len > NAME_MAX) {
spin_unlock(&dcache_lock);
return 0;
}
Expand Down

0 comments on commit ce65f8d

Please sign in to comment.