Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shivani Bhardwaj and committed by
Greg Kroah-Hartman
87af1d2e 26da3234

+2 -2
+2 -2
drivers/staging/lustre/lustre/libcfs/tracefile.c
··· 451 451 cfs_print_to_console(&header, mask, 452 452 string_buf, needed, file, msgdata->msg_fn); 453 453 454 - cfs_trace_put_console_buffer(string_buf); 454 + put_cpu(); 455 455 } 456 456 457 457 if (cdls != NULL && cdls->cdls_count != 0) { ··· 465 465 cfs_print_to_console(&header, mask, 466 466 string_buf, needed, file, msgdata->msg_fn); 467 467 468 - cfs_trace_put_console_buffer(string_buf); 468 + put_cpu(); 469 469 cdls->cdls_count = 0; 470 470 } 471 471