Merge pull request #22557 from tchaikov/wip-rbd-ggate

rbd-ggate: tag "level" with need_dynamic

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Kefu Chai 2018-06-14 17:17:31 +08:00 committed by GitHub
commit ff81eb924e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ extern "C" void debugv(int level, const char *fmt, va_list ap) {
vasprintf(&msg, fmt, ap);
dout(level) << msg << dendl;
dout(ceph::dout::need_dynamic(level)) << msg << dendl;
free(msg);
errno = saved_errno;