Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189481
b: refs/heads/master
c: 11e9b49
h: refs/heads/master
i:
  189479: 566f3bb
v: v3
  • Loading branch information
Sripathi Kodi authored and Eric Van Hensbergen committed Apr 5, 2010
1 parent 4d5763a commit 9e2bdcd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6d96d3ab7aea5f0e75205a0c97f8d1fdf82c5287
refs/heads/master: 11e9b49b7fa056bfc00a56de8956d1d5fe8b84ea
3 changes: 3 additions & 0 deletions trunk/fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,9 @@ static struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
P9_DPRINTK(P9_DEBUG_VFS, "dir: %p dentry: (%s) %p nameidata: %p\n",
dir, dentry->d_name.name, dentry, nameidata);

if (dentry->d_name.len > NAME_MAX)
return ERR_PTR(-ENAMETOOLONG);

sb = dir->i_sb;
v9ses = v9fs_inode2v9ses(dir);
dfid = v9fs_fid_lookup(dentry->d_parent);
Expand Down

0 comments on commit 9e2bdcd

Please sign in to comment.