xfs: xfs_quota_unreserve_blkres can't fail
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Apr 2024 12:58:22 +0000 (14:58 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 3 May 2024 05:45:03 +0000 (11:15 +0530)
commitcc3c92e7e79eb5f7f3ec4d5790ade384b7d294f7
tree6f14dcd434649cfd773a00d02235ce41652bbd9a
parentf7b9ee784511920545558db85da24d022fb2805f
xfs: xfs_quota_unreserve_blkres can't fail

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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_aops.c
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_bmap_util.h
fs/xfs/xfs_iomap.c
fs/xfs/xfs_quota.h
fs/xfs/xfs_reflink.c