Fix: d_type validity is not guaranteed on all nfs versions
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 17 Mar 2016 18:56:02 +0000 (14:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:21:38 +0000 (16:21 -0400)
commitd8e2a9cd25350875282a9a8d1df3c28ccfd87368
tree2d369e452c88fb1948f25faeb5674e6059fdd66b
parent00929fde57b532c7ac907f06f14b233883609bf6
Fix: d_type validity is not guaranteed on all nfs versions

When using lttng-crash on files mounted on a nfs mount the d_type from
the dirent struct is not necessarily set and results in a DT_UNKNOWN
d_type.

stat() provides the valid information on an nfs mount.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-crash/lttng-crash.c
This page took 0.024504 seconds and 4 git commands to generate.