[openib-general] uverbs_main cleanup

Hal Rosenstock halr at voltaire.com
Mon Jun 6 14:54:28 PDT 2005


Hi Roland,

Should the order of unregistering the uverbs event fs and the unmounting
be reversed or does this not matter ?

static void __exit ib_uverbs_cleanup(void)
{
        ib_unregister_client(&uverbs_client);
        unregister_filesystem(&uverbs_event_fs);
        mntput(uverbs_event_mnt);
...


static void __exit ib_uverbs_cleanup(void)
{
        ib_unregister_client(&uverbs_client);
        mntput(uverbs_event_mnt); 
        unregister_filesystem(&uverbs_event_fs);
...

-- Hal




More information about the general mailing list