Hi,all I got problem in using overlayfs over fs not support dirent::ftype[such as xfs(-n ftype=0)]. After some dig I realized in such situation, function ovl_fill_merge parameter d_type will always be DT_UNKNOWN. I think a warning is needed of course. But because dirent::d_type is not widely supported for now. I thought If we can find a way to fallback to stat() call in such a situation. How do you think this idea? And, can you suggest a method to do it? I tried these method for now, but none work. 1) Direct get struct inode* from inode::i_ino, Stuck at not found a proper abstract function to do it. 2) Get to known fs do not support dirent::d_type and workaround. Stuck at not found how to know if fs do not support dirent::d_type 3) In function ctx.actor [ovl_fill_merge], use function lookup_one_len to get file dirent. Stuck at lock. Any thought is helpful. Thank you ! lilinzhe -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html