summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_bmap_util.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-30 14:58:22 +0200
committerChandan Babu R <chandanbabu@kernel.org>2024-05-03 11:15:03 +0530
commitcc3c92e7e79eb5f7f3ec4d5790ade384b7d294f7 (patch)
tree6f14dcd434649cfd773a00d02235ce41652bbd9a /fs/xfs/xfs_bmap_util.h
parentf7b9ee784511920545558db85da24d022fb2805f (diff)
downloadlwn-cc3c92e7e79eb5f7f3ec4d5790ade384b7d294f7.tar.gz
lwn-cc3c92e7e79eb5f7f3ec4d5790ade384b7d294f7.zip
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>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.h')
-rw-r--r--fs/xfs/xfs_bmap_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_util.h b/fs/xfs/xfs_bmap_util.h
index 77ecbb753ef2..51f84d8ff372 100644
--- a/fs/xfs/xfs_bmap_util.h
+++ b/fs/xfs/xfs_bmap_util.h
@@ -30,7 +30,7 @@ xfs_bmap_rtalloc(struct xfs_bmalloca *ap)
}
#endif /* CONFIG_XFS_RT */
-int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
+void xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
xfs_off_t start_byte, xfs_off_t end_byte);
struct kgetbmap {