]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: xfs_quota_unreserve_blkres can't fail
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jul 2024 23:22:57 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:05 +0000 (17:01 -0700)
commitd0348eb2d1af077c96b61ce3dc82121a16b29543
tree00f6f481f221f70b6ad5fc6b33696202630dc4aa
parent1d5c15a98dfc171f05490062404f9a96a7e71b08
xfs: xfs_quota_unreserve_blkres can't fail

Source kernel commit: cc3c92e7e79eb5f7f3ec4d5790ade384b7d294f7

Unreserving quotas can't fail due to quota limits, and we'll notice a
shut down file system a bit later in all the callers anyway.  Return
void and remove the error checking and propagation in the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h