Commit 87af1d2e authored by Shivani Bhardwaj's avatar Shivani Bhardwaj Committed by 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: default avatarShivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26da3234
...@@ -451,7 +451,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata, ...@@ -451,7 +451,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
cfs_print_to_console(&header, mask, cfs_print_to_console(&header, mask,
string_buf, needed, file, msgdata->msg_fn); string_buf, needed, file, msgdata->msg_fn);
cfs_trace_put_console_buffer(string_buf); put_cpu();
} }
if (cdls != NULL && cdls->cdls_count != 0) { if (cdls != NULL && cdls->cdls_count != 0) {
...@@ -465,7 +465,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata, ...@@ -465,7 +465,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
cfs_print_to_console(&header, mask, cfs_print_to_console(&header, mask,
string_buf, needed, file, msgdata->msg_fn); string_buf, needed, file, msgdata->msg_fn);
cfs_trace_put_console_buffer(string_buf); put_cpu();
cdls->cdls_count = 0; cdls->cdls_count = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment