commit | 25576c5420e61dea4c2b52942460f2221b8e46e8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 02 09:33:55 2024 +0200 |
committer | Chandan Babu R <chandanbabu@kernel.org> | Fri May 03 11:20:06 2024 +0530 |
tree | 0d65a937a6a82f99bfa50bc6e93a673fc19820dd | |
parent | 86de848403abda05bf9c16dcdb6bef65a8d88c41 [diff] |
xfs: simplify iext overflow checking and upgrade Currently the calls to xfs_iext_count_may_overflow and xfs_iext_count_upgrade are always paired. Merge them into a single function to simplify the callers and the actual check and upgrade logic itself. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>