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: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shivani Bhardwaj 2015-11-03 00:29:22 +05:30 committed by Greg Kroah-Hartman
parent 26da323423
commit 87af1d2e0c

View File

@ -451,7 +451,7 @@ console:
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 @@ console:
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;
}