aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2018-01-16 09:02:30 +0000
committerSteven Rostedt (VMware) <[email protected]>2018-01-23 20:57:28 +0000
commitf4d0706cde27f29ff89e6bf94ded4113f8fe6e80 (patch)
tree5cd8ddafa8948c8f64fb52c88d61f85d2d773cb7 /fs/jbd2/commit.c
parenttracing: Clear parser->idx if only spaces are read (diff)
downloadkernel-f4d0706cde27f29ff89e6bf94ded4113f8fe6e80.tar.gz
kernel-f4d0706cde27f29ff89e6bf94ded4113f8fe6e80.zip
tracing: Make sure the parsed string always terminates with '\0'
Always mark the parsed string with a terminated nul '\0' character. This removes the need for the users to have to append the '\0' before using the parsed string. Link: http://lkml.kernel.org/r/[email protected] Acked-by: Namhyung Kim <[email protected]> Signed-off-by: Changbin Du <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions