From 83cd037a9c69e119c75a3958a90c07606330209f Mon Sep 17 00:00:00 2001 From: tappro Date: Mon, 11 Jul 2005 16:41:50 +0000 Subject: [PATCH] - plugin handler should pass EXIT call in any case. --- lustre/smfs/smfs_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 1.8.3.1