Whamcloud - gitweb
b=13919
authorkalpak <kalpak>
Tue, 27 Nov 2007 11:03:20 +0000 (11:03 +0000)
committerkalpak <kalpak>
Tue, 27 Nov 2007 11:03:20 +0000 (11:03 +0000)
commit06be98cc739437fad89a8a80fcb0113250561238
tree117271a1f0d32c7149c91185ab86af267e2c2f5d
parentc1f64852eb7db8bbbd758d23c6245d8c1f8a3ca3
b=13919
i=adilger,johann

llapi_semantic_traverse may report wrong filetype for some older kernels and we assumed that suchc files were either directories or regular files. This patch ensures that if DT_UNKNOWN is returned as filetype then it is correctly handled by finding out the correct filetype.
lustre/include/lustre/liblustreapi.h
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c