Searched hist:e58ac1770ded2a316447ca7608bb7809af82eca6 (Results 1 – 2 of 2) sorted by relevance
/linux/fs/xfs/libxfs/ |
H A D | xfs_dir2.h | diff e58ac1770ded2a316447ca7608bb7809af82eca6 Thu Apr 25 15:17:03 CEST 2024 Christoph Hellwig <hch@lst.de> xfs: refactor dir format helpers
Add a new enum and a xfs_dir2_format helper that returns it to allow the code to switch on the format of a directory in a single operation and switch all helpers of xfs_dir2_isblock and xfs_dir2_isleaf to it.
This also removes the explicit xfs_iread_extents call in a few of the call sites given that xfs_bmap_last_offset already takes care of it underneath.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
|
H A D | xfs_dir2.c | diff e58ac1770ded2a316447ca7608bb7809af82eca6 Thu Apr 25 15:17:03 CEST 2024 Christoph Hellwig <hch@lst.de> xfs: refactor dir format helpers
Add a new enum and a xfs_dir2_format helper that returns it to allow the code to switch on the format of a directory in a single operation and switch all helpers of xfs_dir2_isblock and xfs_dir2_isleaf to it.
This also removes the explicit xfs_iread_extents call in a few of the call sites given that xfs_bmap_last_offset already takes care of it underneath.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
|