commit | 2f4369a862b637b20ac083a2e674a2d5d1489bda | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Nov 08 15:05:32 2019 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sun Nov 10 16:54:22 2019 -0800 |
tree | 86fedd174fec5fd8ff5d93a5eedc464ad9711459 | |
parent | 263dde869bd09b1a709fd92118c7fff832773689 [diff] |
xfs: cleanup xfs_dir2_leaf_getdents Use an offset as the main means for iteration, and only do pointer arithmetics to find the data/unused entries. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>