]> www.infradead.org Git - users/hch/xfsprogs.git/commit
repair: use libxfs_trans_get_buf in fill_rtino
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Jul 2024 07:08:24 +0000 (09:08 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 18 Jul 2024 13:22:49 +0000 (15:22 +0200)
commit80b15d6e39f668e12aa401cc3a98e32e07965e09
treece149ed766a57712da91cf1d90657a774c2250d5
parent6e97b1a8cc5dbebae197cf0515b6dc6968eee65d
repair: use libxfs_trans_get_buf in fill_rtino

The buffer gets entirely rewritten, no need to read it from disk.

Also pass 0 instead of 1 for the flags, which doesn't change a thing
given that the flags are entirely ignored in userspace, but it looks
less weird now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
repair/rt.c