aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount_util.h
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-07-30 01:13:27 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2024-07-30 10:53:16 +0200
commita83041fa1fa40c4cdeeaecb2b16b011d629727c8 (patch)
treec1de52c593050a859c92bfa44e760d334d2667ed /lib/mount_util.h
parentfafe4069d028b99ae937ee75ea2b82bf215392c3 (diff)
downloadlibfuse-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 'lib/mount_util.h')
0 files changed, 0 insertions, 0 deletions