xfs: refactor extended attribute buffer pointer functions
Replace the open-coded attribute buffer pointer calculations with helper functions to make it more obvious what we're doing with our freeform memory allocation w.r.t. either storing xattr values or computing btree block free space. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NBrian Foster <bfoster@redhat.com>
Showing
fs/xfs/scrub/attr.h
0 → 100644
想要评论请 注册 或 登录