diff options
author | Jean-Pierre André <jpandre@users.noreply.github.com> | 2021-03-18 10:52:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 09:52:30 +0000 |
commit | bdd2d4110fbc6d2059eb699efad2cca4a7eacccb (patch) | |
tree | 62ca0ce9b94529a68e376922963993606af2f35a /example/cuse.c | |
parent | 77d662459a0fcdf358d515477d33795837e859d5 (diff) | |
download | libfuse-bdd2d4110fbc6d2059eb699efad2cca4a7eacccb.tar.gz |
Fix returning d_ino and d_type by readdir(3) in non-plus mode
When not using the readdir_plus mode, the d_type was not returned,
and the use_ino flag was not used for returning d_ino.
This patch fixes the returned values for d_ino and d_type by readdir(3)
The test for the returned value of d_ino has been adjusted to also
take the d_type into consideration and to check the returned values in
both basic readdir and readdir_plus modes. This is done by executing
the passthrough test twice.
Co-authored-by: Jean-Pierre André <jpandre@users.sourceforge.net>
Diffstat (limited to 'example/cuse.c')
0 files changed, 0 insertions, 0 deletions