From: Jonathan Rajotte Date: Thu, 17 Mar 2016 18:56:02 +0000 (-0400) Subject: Fix: d_type validity is not guaranteed on all nfs versions X-Git-Tag: v2.9.0-rc1~306 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=88ae485a1c83df9b02f0954cf452548e5bd2e168;hp=88ae485a1c83df9b02f0954cf452548e5bd2e168 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 Signed-off-by: Jérémie Galarneau ---