From: tappro Date: Mon, 11 Jul 2005 16:41:50 +0000 (+0000) Subject: - plugin handler should pass EXIT call in any case. X-Git-Tag: 1.4.10~895 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=83cd037a9c69e119c75a3958a90c07606330209f;p=fs%2Flustre-release.git - plugin handler should pass EXIT call in any case. --- diff --git a/lustre/smfs/smfs_lib.c b/lustre/smfs/smfs_lib.c index 26fd776..5a40520 100644 --- a/lustre/smfs/smfs_lib.c +++ b/lustre/smfs/smfs_lib.c @@ -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)