Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Thank you for working on this!
sys/kern/vfs_syscalls.c | ||
---|---|---|
1247 | Personally I'd just add 'return (0)' here and eliminate 'else' below, which would reduce the diff. I also don't see '*fpp = fp' anywhere. |
sys/kern/vfs_syscalls.c | ||
---|---|---|
1288 | Recursing into VFS, which we sort of explicitly enable there with a backdoor into filesystem driver VOP_CREATE/VOP_OPEN. It is similar how td_fpop is handled for devfs, to avoid unlikely but hard to diagnose surprises. |
Perhaps call this rtrim instead. There's a precedent in various languages for ltrim/rtrim/trim, with trim removing both leading and trailing space.