Commit b4f51e42 authored by Hou Tao's avatar Hou Tao Committed by Zheng Zengkai
Browse files

fs: add helper fs_file_read_do_trace()

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I53R0H


CVE: NA
backport: openEuler-22.03-LTS

---------------------------

fs_file_read_do_trace() uses writable-tracepoint to update f_mode
for file read procedure. Also export it to make it being usable
for filesystem kernel module.

Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Acked-by: default avatarfang wei <fangwei1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent fdd92676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment