diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-06-09 16:40:37 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-06-23 11:52:30 -0400 |
commit | 694a1764d657e0f7a9b139bc7269c8d5f5a2534b (patch) | |
tree | 754e073cce539c3b6f93e61c3f729bc5959f12f4 /fs/nfsctl.c | |
parent | 20d4fdc1a788e4ca0aaf2422772ba668e7e10839 (diff) |
[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/nfsctl.c')
0 files changed, 0 insertions, 0 deletions