From: Marcin Slusarz Date: Mon, 9 Jun 2008 23:40:37 +0000 (-0700) Subject: [patch 3/4] vfs: fix ERR_PTR abuse in generic_readlink X-Git-Tag: v2.6.26-rc9~99^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=694a1764d657e0f7a9b139bc7269c8d5f5a2534b;p=pandora-kernel.git [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 Cc: Al Viro Cc: Christoph Hellwig Acked-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed