diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 23:11:27 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 10:13:51 +0200 |
| commit | ce58cff1077dfb9ec3d0e6f5da1b06a85be035bb (patch) | |
| tree | 3bbfb48ea7337a4dcfb59036551984b92e8467f7 /tools/lib/python | |
| parent | 02c8e8d78792164df615a8c54411501e91fc7b64 (diff) | |
| download | linux-next-ce58cff1077dfb9ec3d0e6f5da1b06a85be035bb.tar.gz linux-next-ce58cff1077dfb9ec3d0e6f5da1b06a85be035bb.zip | |
xfs: refactor inode forkoff to byte conversions
A reviewer suggested that I formalize the conversion between the inode
forkoff field and actual byte count, so let's add a few conversion
macros and a helper function to compute the default forkoff; and then
adjust the codebase to use them.
No functional changes intended.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
