summaryrefslogtreecommitdiff
path: root/lib/fstree/get_by_path.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 17:08:34 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 19:17:31 +0200
commitaed35c78c6a51a4b4c37ebda5643d2246842fb74 (patch)
treebcca46d34146c117005a3c4b58588613fec3206e /lib/fstree/get_by_path.c
parentfd0b2e7a242568f5b11f8a22ce0c3f639e6bbbfc (diff)
Fix: libfstree: actually use a full 32 bit hard link counter
The squashfs on-disk format uses 32 bit link counters, but the fstree used 16 bit ones. Because the link count also includes child nodes, this artificially limited the number of entries in a directory to ~64k files. This patch removes the limit by switching libfstree to 32 bit counters. Reported-by: Marvin Renich <mrvn@renich.org> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/get_by_path.c')
0 files changed, 0 insertions, 0 deletions