Enforced stat/dir_read of a dir results in size=0

The size field in lfs_info doesn't really make sense for stat/dir_read
when the file is a directory. Still, we should probably set it to 0 os
it's not uninitialized.

Fortunately we were already setting size=0 in _most_ cases, this commit
is mostly just checking for size=0 in more test cases.
This commit is contained in:
Christopher Haster
2024-01-19 02:12:11 -06:00
parent d32dbd297a
commit 9adb22eee0
7 changed files with 948 additions and 2 deletions
File diff suppressed because it is too large Load Diff