Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14b0a9
)
- make noise if capa hasn't been passed even
author
alex
<alex>
Mon, 19 Sep 2005 19:55:27 +0000
(19:55 +0000)
committer
alex
<alex>
Mon, 19 Sep 2005 19:55:27 +0000
(19:55 +0000)
lustre/obdfilter/filter_capa.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_capa.c
b/lustre/obdfilter/filter_capa.c
index
649020f
..
09208b9
100644
(file)
--- 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");