diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-06-10 01:40:37 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-06-23 17:52:30 +0200 |
commit | 694a1764d657e0f7a9b139bc7269c8d5f5a2534b (patch) | |
tree | 754e073cce539c3b6f93e61c3f729bc5959f12f4 /fs/affs/super.c | |
parent | [patch 2/4] fs: make struct file arg to d_path const (diff) | |
download | linux-694a1764d657e0f7a9b139bc7269c8d5f5a2534b.tar.xz linux-694a1764d657e0f7a9b139bc7269c8d5f5a2534b.zip |
[patch 3/4] vfs: fix ERR_PTR abuse in generic_readlink
generic_readlink calls ERR_PTR for negative and positive values
(vfs_readlink returns length of "link"), but it should not
(not an errno) and does not need to.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Acked-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/super.c')
0 files changed, 0 insertions, 0 deletions