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)
commit70a9ac36ffd807ac506ed0b849f3e8ce3c6623f2
tree15acc818edfef5b3732abb7441a1678f3650c3ce
parent6663b138ded1a59e630c9e605e42aa7fde490cdc
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: 0c5e36db17f5 ("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