MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 77122 Build 74005: arc lint + arc unit
Event Timeline
| sys/fs/cuse/cuse.c | ||
|---|---|---|
| 278–281 | But now cuse_dev could be NULL. At very least, destroy_dev() should check that the cdev node was created. | |
| sys/fs/cuse/cuse.c | ||
|---|---|---|
| 278–281 | It is checked already in cuse_kern_uninit(), no? if (cuse_dev != NULL) destroy_dev(cuse_dev); | |
| sys/fs/cuse/cuse.c | ||
|---|---|---|
| 278–281 | I guess we could also make cuse_kern_init() return an int and propagate this back to cuse_modevent(), if needed. What do you think? | |
| sys/fs/cuse/cuse.c | ||
|---|---|---|
| 278–281 | Sorry, ok. But if you cannot fail the module load, perhaps the printf() below should indicate a failure to create /dev/cuse instead of the path. | |