Commit f422c66
committed
fix: preserve directory size on read_dir failure and strengthen FUSE mount probe
When read_dir() fails, return Info with the already-computed size instead
of Info::default(), which was discarding the directory's own inode size.
Also tighten the FUSE mount readiness check to require Some(Ok(_)) so
the probe only succeeds when a directory entry can actually be read.
https://claude.ai/code/session_01LfpnUZrgq93MVZgA3KVqE61 parent be7c805 commit f422c66
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments