diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-04-06 07:02:04 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-07 14:37:07 -0700 |
commit | 683ec9ba887d096a6cbd9a5778be9400efe6468c (patch) | |
tree | 4090ef2b7decb740cdf07cfb43bd512df7c3e3fe /fs/xfs/xfs_pnfs.h | |
parent | 8de1cb0038026a35dca276c69fa5caa5453879f3 (diff) |
xfs: default attr fork size does not handle device inodes
Device inodes have a non-default data fork size of 8 bytes
as checked/enforced by xfs_repair. xfs_default_attroffset() doesn't
handle this, so lets do a minor refactor so it does.
Fixes: e6a688c33238 ("xfs: initialise attr fork on inode create")
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Tested-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_pnfs.h')
0 files changed, 0 insertions, 0 deletions