diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2023-01-19 18:32:29 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-01-20 03:45:38 +0300 |
commit | 4bb1a1375ac33950385d17321c546aeb520ba152 (patch) | |
tree | b845c511f46bc42da8b138a8310a6dc3aeba3343 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4309093ecb841bbd27fcd23525dd41b9a6b437ea (diff) | |
download | linux-4bb1a1375ac33950385d17321c546aeb520ba152.tar.xz |
fs/sysv: Use the offset_in_page() helper
Use the offset_in_page() helper because it is more suitable than doing
explicit subtractions between pointers to directory entries and kernel
virtual addresses of mapped pages.
Cc: Ira Weiny <ira.weiny@intel.com>
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions