Commit 87af1d2e authored by Shivani Bhardwaj's avatar Shivani Bhardwaj Committed by Greg Kroah-Hartman
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}