diff options
author | Bernd Schubert <bschubert@ddn.com> | 2024-07-30 01:13:27 +0200 |
---|---|---|
committer | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-07-30 10:53:16 +0200 |
commit | a83041fa1fa40c4cdeeaecb2b16b011d629727c8 (patch) | |
tree | c1de52c593050a859c92bfa44e760d334d2667ed /dev-docs | |
parent | fafe4069d028b99ae937ee75ea2b82bf215392c3 (diff) | |
download | libfuse-a83041fa1fa40c4cdeeaecb2b16b011d629727c8.tar.gz |
example/passthrough_hp: Fix . and .. readdir lookup count
Commit 170edc6a8ef0 added dot and dotdot (. and ..) to readdir
results, but introduced an issue when max number of entries
was reached - lookup count must not be decreased without
doing the lookup.
With ext4 as underlying file system readir seems to return . and ..
at random offsets and randomly failed xfstests for me.
This also fixes indentation, as passthrough_hp.cc does not follow
the linux indentation style (if we decide to fix this, it needs
to be done for the entire file).
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'dev-docs')
0 files changed, 0 insertions, 0 deletions