diff options
author | Shawn Bohrer <sbohrer@rgmadvisors.com> | 2010-11-21 16:09:39 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-11-27 03:33:04 (GMT) |
commit | 008f29d3865828bb27e35d6d3fa889d0853b469f (patch) | |
tree | ed30036e47eb9fa91cf00b5ef8982f26c5a987eb /lib/bug.c | |
parent | 9d1faba5fe410558099f13cfada2eab03186769d (diff) | |
download | linux-fsl-qoriq-008f29d3865828bb27e35d6d3fa889d0853b469f.tar.xz |
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 <schwab@linux-m68k.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290355779-3276-1-git-send-email-sbohrer@rgmadvisors.com>
Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions