Whamcloud - gitweb
- additional debug
authoralex <alex>
Tue, 20 Sep 2005 10:53:44 +0000 (10:53 +0000)
committeralex <alex>
Tue, 20 Sep 2005 10:53:44 +0000 (10:53 +0000)
lustre/obdfilter/filter_capa.c

index c5decbd..2b0086d 100644 (file)
@@ -279,6 +279,10 @@ verify:
                 }
                 spin_unlock(&filter->fo_capa_lock);
 
+                if (rc) {
+                        DEBUG_CAPA(D_ERROR, capa, "access denied\n");
+                        DEBUG_CAPA(D_ERROR, &ocapa->c_capa, "access denied\n");
+                }
                 capa_put(ocapa);
                 RETURN(rc ? -EACCES : 0);
         }