Whamcloud - gitweb
the missing part of last capa fix.
[fs/lustre-release.git] / lustre / osc / osc_create.c
index 39f33e3..c8af289 100644 (file)
@@ -83,11 +83,9 @@ int osc_create(struct obd_export *exp, struct obdo *oa,
         LASSERT(acl == NULL && acl_size == 0);
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
-        if (current->journal_info != NULL) {
-                CDEBUG(D_ERROR, "calling osc_create() with an "
-                       "open transaction isn't a good idea\n");
-                portals_debug_dumplog();
-        }
+        if (current->journal_info != NULL)
+                CWARN("calling osc_create() with an "
+                      "open transaction isn't a good idea\n");
 #endif
 
         if (oa->o_gr == FILTER_GROUP_LLOG || oa->o_gr == FILTER_GROUP_ECHO)