OSDN Git Service

Pass stat to filler in readdir for dirent->d_type.
authorMark Browning <mbrowning@capsher.com>
Thu, 28 Jun 2018 15:30:59 +0000 (15:30 +0000)
committerrelan <relan@users.noreply.github.com>
Thu, 6 Sep 2018 04:24:34 +0000 (07:24 +0300)
commit5d55e2a922a3d5e24a2141aa5069687dcdb2bca8
tree9972f9abc952cfec422e1d5581b62f29c4693e16
parent23cdcba3566b9fc448562062c5c0792316f95386
Pass stat to filler in readdir for dirent->d_type.

We have SD card reading code that iterates over the file system using
opendir() and readdir() recursively by checking the struct
dirent::d_type field, which is technically non-portable but works in
ext2, ext3, ext4, and vfat. However, it wasn't working with exfat.

Allows fuse to fill in the d_type field.
fuse/main.c