There are enough cases where the duplicate name is caused by dubious hardware configuration. Stopping the whole system instead of failing a driver, or even a diagnostic subsystem in a driver, is more user-friendly.
Details
Details
- Reviewers
bz des markj - Group Reviewers
linuxkpi - Commits
- rGe9897199576a: pseudofs: make dup name an error instead of panic
rGb63f298b1ff9: pseudofs: fix typo in comment
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/fs/pseudofs/pseudofs.c | ||
---|---|---|
131–132 | pfs_fileno_alloc() assumes that pn->pn_parent is set in some cases. It might be sufficient to temporarily assign pn->pn_parent, then clear it below if there is a conflict. |
sys/fs/pseudofs/pseudofs.c | ||
---|---|---|
282 | Why? Can you provide specifics? |
sys/fs/pseudofs/pseudofs.c | ||
---|---|---|
138 |