From: Shawn Bohrer Date: Sun, 21 Nov 2010 16:09:39 +0000 (-0600) Subject: perf trace: Handle DT_UNKNOWN on filesystems that don't support d_type X-Git-Tag: v2.6.38-rc1~490^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008f29d3865828bb27e35d6d3fa889d0853b469f;p=pandora-kernel.git perf trace: Handle DT_UNKNOWN on filesystems that don't support d_type Some filesystems like xfs and reiserfs will return DT_UNKNOWN for the d_type. Handle this case by calling stat() to determine the type. Cc: Andreas Schwab Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra LKML-Reference: <1290355779-3276-1-git-send-email-sbohrer@rgmadvisors.com> Signed-off-by: Shawn Bohrer Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed