assert(ksess);
assert(ksess->consumer);
- DBG("Cleat kernel session %s (session %" PRIu64 ")",
+ DBG("Clear kernel session %s (session %" PRIu64 ")",
session->name, session->id);
rcu_read_lock();
}
}
+ if (!ksess->metadata) {
+ /*
+ * Nothing to do for the metadata.
+ * This is a snpashot session.
+ * The metadata is genererated on the fly.
+ */
+ continue;
+ }
+
/*
* Clear the metadata channel.
* Metadata channel is not cleared per se but we still need to