From ce1feb523d461f4293edb567f09af1c948160385 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 19 Sep 2005 19:55:27 +0000 Subject: [PATCH] - make noise if capa hasn't been passed even --- lustre/obdfilter/filter_capa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"); -- 1.8.3.1