From: alex Date: Mon, 19 Sep 2005 19:55:27 +0000 (+0000) Subject: - make noise if capa hasn't been passed even X-Git-Tag: 1.4.10~477 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ce1feb523d461f4293edb567f09af1c948160385;p=fs%2Flustre-release.git - make noise if capa hasn't been passed even --- diff --git a/lustre/obdfilter/filter_capa.c b/lustre/obdfilter/filter_capa.c index 649020f..09208b9 100644 --- a/lustre/obdfilter/filter_capa.c +++ b/lustre/obdfilter/filter_capa.c @@ -224,8 +224,10 @@ filter_verify_capa(int cmd, struct obd_export *exp, struct lustre_capa *capa) RETURN(0); ENTRY; - if (capa == NULL) + if (capa == NULL) { + CDEBUG(D_ERROR, "no capa has been passed\n"); RETURN(-EACCES); + } if (blacklist_check(capa->lc_uid)) { DEBUG_CAPA(D_ERROR, capa, "found in blacklist\n");