提交 87af1d2e 编写于 作者: S Shivani Bhardwaj 提交者: Greg Kroah-Hartman

Staging: lustre: tracefile: Replace function calls

Replace the calls of function cfs_trace_put_console_buffer() with
put_cpu() as former is just a wrapper for latter.
Signed-off-by: NShivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 26da3234
......@@ -451,7 +451,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
cfs_print_to_console(&header, mask,
string_buf, needed, file, msgdata->msg_fn);
cfs_trace_put_console_buffer(string_buf);
put_cpu();
}
if (cdls != NULL && cdls->cdls_count != 0) {
......@@ -465,7 +465,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
cfs_print_to_console(&header, mask,
string_buf, needed, file, msgdata->msg_fn);
cfs_trace_put_console_buffer(string_buf);
put_cpu();
cdls->cdls_count = 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册