From: Franck Bui-Huu Date: Fri, 10 Dec 2010 21:06:26 +0000 (+0100) Subject: perf buildid-cache: Fix symbolic link handling X-Git-Tag: v2.6.37-rc8~22^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a7a771ad0e2959983729bf88cbc74a7014438f;p=pandora-kernel.git perf buildid-cache: Fix symbolic link handling This was broken since link(2) doesn't dereference symbolic links. Instead 'filename' becomes a symbolic link to the same file that 'name' refers to. This had the bad effect to create dangling symlinks in the case that even can't be removed with perf-buildid-cache(1). LKML-Reference: Signed-off-by: Franck Bui-Huu Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed