diff options
| author | Fabio M. De Francesco <[email protected]> | 2023-01-19 15:32:29 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2023-01-20 00:45:38 +0000 |
| commit | 4bb1a1375ac33950385d17321c546aeb520ba152 (patch) | |
| tree | b845c511f46bc42da8b138a8310a6dc3aeba3343 /tools/perf/scripts/python/libxed.py | |
| parent | sysv: don't flush page immediately for DIRSYNC directories (diff) | |
| download | kernel-4bb1a1375ac33950385d17321c546aeb520ba152.tar.gz kernel-4bb1a1375ac33950385d17321c546aeb520ba152.zip | |
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 <[email protected]>
Suggested-by: Al Viro <[email protected]>
Signed-off-by: Fabio M. De Francesco <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
