Christoph Hellwig 99fb6b7ad1 xfs: upgrade the extent counters in xfs_reflink_end_cow_extent later
Defer the extent counter size upgrade until we know we're going to
modify the extent mapping.  This also defers dirtying the transaction
and will allow us safely back out later in the function in later
changes.

Fixes: 4f86bb4b66c9 ("xfs: Conditionally upgrade existing inodes to use large extent counters")
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
2024-05-03 11:20:06 +05:30
..
2024-02-22 12:43:35 -08:00
2024-04-15 14:58:53 -07:00
2024-03-13 13:52:24 -07:00
2024-04-23 07:47:00 -07:00
2024-04-23 07:47:00 -07:00
2024-04-22 18:00:47 +05:30
2024-04-22 18:00:47 +05:30
2024-04-23 07:47:00 -07:00
2024-04-23 07:47:00 -07:00
2024-04-23 16:55:18 -07:00
2024-04-22 12:51:43 +05:30
2024-04-15 14:59:02 -07:00
2024-02-17 09:32:32 +05:30
2024-04-23 07:47:00 -07:00
2024-04-23 07:47:00 -07:00
2024-04-22 18:00:47 +05:30
2024-04-23 07:46:50 -07:00