aha/fs/9p
Martin Stava 2511cd0b3b 9p: fix readlink
I do not know if you've looked on the patch, but unfortunately it is
incorrect. A suggested better version is in this email (the old
version didn't work in case the user provided buffer was not long
enough - it incorrectly appended null byte on a position of last char,
and thus broke the contract of the readlink method). However, I'm
still not sure this is 100% correct thing to do, I think readlink is
supposed to return buffer without last null byte in all cases, but we
do return last null byte (even the old version).. on the other hand it
is likely unspecified what is in the remaining part of the buffer, so
null character may be fine there ;):

Signed-off-by: Martin Stava <martin.stava@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2009-11-02 08:43:45 -06:00
..
cache.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
cache.h 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
fid.c Merge branch 'next' into for-linus 2008-12-25 11:40:09 +11:00
fid.h 9p: Documentation updates 2008-05-14 19:23:25 -05:00
Kconfig 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
Makefile 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
v9fs.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
v9fs.h 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
v9fs_vfs.h 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
vfs_addr.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
vfs_dentry.c constify dentry_operations: 9p 2009-03-27 14:44:00 -04:00
vfs_dir.c 9p: fix a small bug in readdir for long directories 2009-11-02 08:43:44 -06:00
vfs_file.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
vfs_inode.c 9p: fix readlink 2009-11-02 08:43:45 -06:00
vfs_super.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00