Skip to content
Snippets Groups Projects
Commit 7f955e86 authored by alex's avatar alex
Browse files

b=7273

 - additional debug check
parent 5f521392
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,14 @@ int osc_create(struct obd_export *exp, struct obdo *oa, ...@@ -82,6 +82,14 @@ int osc_create(struct obd_export *exp, struct obdo *oa,
LASSERT(oa->o_valid & OBD_MD_FLGROUP); LASSERT(oa->o_valid & OBD_MD_FLGROUP);
LASSERT(acl == NULL && acl_size == 0); 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();
}
#endif
if (oa->o_gr == FILTER_GROUP_LLOG || oa->o_gr == FILTER_GROUP_ECHO) if (oa->o_gr == FILTER_GROUP_LLOG || oa->o_gr == FILTER_GROUP_ECHO)
RETURN(osc_real_create(exp, oa, ea, oti)); RETURN(osc_real_create(exp, oa, ea, oti));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment