diff options
author | Dave Chinner <[email protected]> | 2021-04-06 07:03:24 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-04-07 14:37:07 -0700 |
commit | b2941046ea85d2cd94b485831bf03402f34f4060 (patch) | |
tree | 1c930385ea564d42a3e9353a1d4b7d3076da37a3 /include/linux/fpga/fpga-mgr.h | |
parent | 683ec9ba887d096a6cbd9a5778be9400efe6468c (diff) |
xfs: precalculate default inode attribute offset
Default attr fork offset is based on inode size, so is a fixed
geometry parameter of the inode. Move it to the xfs_ino_geometry
structure and stop calculating it on every call to
xfs_default_attroffset().
Signed-off-by: Dave Chinner <[email protected]>
Tested-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Allison Henderson <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions