mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 00:29:36 -04:00
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:
committed by
Greg Kroah-Hartman
parent
26da323423
commit
87af1d2e0c
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user