Whamcloud - gitweb
b=13919
authorkalpak <kalpak>
Wed, 28 Nov 2007 10:50:13 +0000 (10:50 +0000)
committerkalpak <kalpak>
Wed, 28 Nov 2007 10:50:13 +0000 (10:50 +0000)
commit9aca99491ed89c30710db5fdabf5613d561bcf72
tree6ed00c288ed904eafd1c6b4e0d5bc2b53c77879b
parent0ad44353461cecb1c80e3c6b490e7d4f22939607
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