]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfs: remove the trailing newline used in the fmt parameter of TP_printk
authorHou Tao <houtao1@huawei.com>
Fri, 14 Apr 2017 18:43:27 +0000 (11:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:40 +0000 (09:40 -0700)
commit42bf9dba40086e3d18dc29eb379f13df219d3f22
treeb1afc32a872e529686be73ab2c744569ce79c7eb
parentcb52ee334a45ae6c78a3999e4b473c43ddc528f4
xfs: remove the trailing newline used in the fmt parameter of TP_printk

The trailing newlines wil lead to extra newlines in the trace file
which looks like the following output, so remove them.
>kworker/4:1H-1508  [004] .... 47879.101608: xfs_discard_extent: dev 8:0
>
>kworker/u16:2-238  [004] .... 47879.101725: xfs_extent_busy_clear: dev 8:0

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: fix the getfsmap tracepoints too]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_trace.h