]> 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)
commit33cca4c722b803dd20a82028275482490328f614
tree15acc818edfef5b3732abb7441a1678f3650c3ce
parent3f2dde79fe1d8d7756c2bcc0193e4e1c902ad00d
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: 532267871399 ("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