Details
Details
- Reviewers
asomers - Commits
- rG3d8562348c9c: fusefs: Address -Wunused-but-set-variable warnings
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/fs/fuse/fuse_io.c | ||
---|---|---|
525 | The need for this went away with commit 84879e46c2bea842c3ad7b1b8b26aeb81946f5a8. | |
sys/fs/fuse/fuse_node.c | ||
454 | I'm not sure if this is an actual bug, though invalidating more than necessary probably isn't a correctness issue. |
sys/fs/fuse/fuse_node.c | ||
---|---|---|
454 | It's deliberate. If we get here, that means the FUSE server changed the file's size even though we had it cached. If it changed the size, then it probably changed other stuff too. That's why it's best to invalidate the cache for the whole file. |