#include #include #include "msg.h" /* * This can be called with pre-emption disabled if the caller is printing * the contents of formated per-cpu key string buffers. */ void scoutfs_msg(struct super_block *sb, const char *prefix, const char *str, const char *fmt, ...) { struct va_format vaf; va_list args; va_start(args, fmt); vaf.fmt = fmt; vaf.va = &args; printk("%sscoutfs "SCSBF"%s: %pV\n", prefix, SCSB_ARGS(sb), str, &vaf); va_end(args); }