Page MenuHomeFreeBSD

cuse: Actually use cuse_modevent()
ClosedPublic

Authored by christos on Sun, Sep 20, 4:06 PM.
Tags
None
Referenced Files
F174666349: D59862.diff
Mon, Oct 5, 1:42 AM
Unknown Object (File)
Sun, Oct 4, 4:38 AM
Unknown Object (File)
Sat, Oct 3, 8:50 PM
Unknown Object (File)
Sat, Oct 3, 12:40 AM
Unknown Object (File)
Thu, Oct 1, 10:44 AM
Unknown Object (File)
Tue, Sep 29, 9:09 PM
Unknown Object (File)
Tue, Sep 29, 1:18 PM
Unknown Object (File)
Mon, Sep 28, 11:19 PM
Subscribers

Details

Summary

We can call cuse_kern_init()/cuse_kern_uninit() here, rather than using
SYSINIT/SYSUNINIT.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77118
Build 74001: arc lint + arc unit

Event Timeline

kib added inline comments.
sys/fs/cuse/cuse.c
278

Would be nice to switch this to make_dev_something(MAKEDEV_CHECKNAME) just in case.

292

This is silly.

306

destroy_dev arguably should occur before checks for cuse_server_head, to interlock the drain.

This revision is now accepted and ready to land.Sun, Sep 20, 4:52 PM
sys/fs/cuse/cuse.c
278
292

I'm working on a patch already.

This revision was automatically updated to reflect the committed changes.