commit | a092b14d93746cbf91af5f0f5fe3179a85c5bab4 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Wed Aug 07 15:53:54 2024 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Wed Oct 09 16:29:01 2024 -0700 |
tree | 5dea1c511ee34ff7366b708b0416917794d8f65e | |
parent | 6f2535b0125dd61cdbf133846accc045749415fd [diff] |
xfs_repair: use library functions to reset root/rbm/rsum inodes Use the iroot reset function to reset root inodes instead of open-coding the reset routine. While we're at it, fix a longstanding memory leak if the inode being reset actually had an xattr fork full of mappings. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>