Page MenuHomeFreeBSD

cuse: Actually use cuse_modevent()
ClosedPublic

Authored by christos on Sun, Sep 20, 4:06 PM.
Tags
None
Referenced Files
F176148359: D59862.diff
Fri, Oct 16, 12:18 PM
F176123550: D59862.diff
Fri, Oct 16, 7:21 AM
Unknown Object (File)
Sat, Oct 10, 8:14 AM
Unknown Object (File)
Fri, Oct 9, 9:33 PM
Unknown Object (File)
Wed, Oct 7, 4:03 PM
Unknown Object (File)
Wed, Oct 7, 1:47 PM
Unknown Object (File)
Wed, Oct 7, 3:20 AM
Unknown Object (File)
Wed, Oct 7, 2:33 AM
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 Not Applicable
Unit
Tests Not Applicable

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.