diff options
| author | 2023-01-19 16:32:29 +0100 | |
|---|---|---|
| committer | 2023-01-19 19:45:38 -0500 | |
| commit | 4bb1a1375ac33950385d17321c546aeb520ba152 (patch) | |
| tree | b845c511f46bc42da8b138a8310a6dc3aeba3343 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | sysv: don't flush page immediately for DIRSYNC directories (diff) | |
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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
