Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: e6a688c ("xfs: initialise attr fork on inode create") Signed-off-by: Dave Chinner <[email protected]> Tested-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Allison Henderson <[email protected]>
- Loading branch information