]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix up f2fs_lookup tracepoints
authorGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 21 Sep 2021 14:37:30 +0000 (22:37 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 28 Sep 2021 19:04:14 +0000 (12:04 -0700)
commitb13f598e1c08d179132a877dbbc004f7f644f6e9
tree15acc818edfef5b3732abb7441a1678f3650c3ce
parent3e8143a818f369acebe9a6532afff74d059060cf
f2fs: fix up f2fs_lookup tracepoints

Fix up a misuse that the filename pointer isn't always valid in
the ring buffer, and we should copy the content instead.

Fixes: 241ecabbca3e ("f2fs: trace f2fs_lookup")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
include/trace/events/f2fs.h