Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9220
b: refs/heads/master
c: a1f9d8d
h: refs/heads/master
v: v3
  • Loading branch information
Latchesar Ionkov authored and Linus Torvalds committed Sep 23, 2005
1 parent 4aec745 commit 036f801
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: a8e63bff521f0387fb4f4e486dede0e78dca8f41
refs/heads/master: a1f9d8d23fef301ba0c0b4983e0aa947168e1c37
4 changes: 2 additions & 2 deletions trunk/fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,8 +1063,8 @@ static int v9fs_vfs_readlink(struct dentry *dentry, char __user * buffer,
int ret;
char *link = __getname();

if (strlen(link) < buflen)
buflen = strlen(link);
if (buflen > PATH_MAX)
buflen = PATH_MAX;

dprintk(DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry);

Expand Down

0 comments on commit 036f801

Please sign in to comment.