Whamcloud - gitweb
- plugin handler should pass EXIT call in any case.
authortappro <tappro>
Mon, 11 Jul 2005 16:41:50 +0000 (16:41 +0000)
committertappro <tappro>
Mon, 11 Jul 2005 16:41:50 +0000 (16:41 +0000)
lustre/smfs/smfs_lib.c

index 26fd776..5a40520 100644 (file)
@@ -588,7 +588,8 @@ int smfs_helper (struct super_block * sb, int op, void * msg)
         down_read(&smb->plg_sem);
         list_for_each_entry_safe(plg, tmp, hlist, plg_list) {
                 //check that plugin is active
-                if(!SMFS_IS(smb->plg_flags, plg->plg_type) && (op != PLG_START))
+                if(!SMFS_IS(smb->plg_flags, plg->plg_type) && 
+                   !(op == PLG_START || op == PLG_EXIT))
                         continue;
                
                 if (plg->plg_helper)