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>
Showing
- fs/xfs/libxfs/xfs_bmap.c 5 additions, 11 deletionsfs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_bmap.h 1 addition, 1 deletionfs/xfs/libxfs/xfs_bmap.h
- fs/xfs/xfs_aops.c 1 addition, 5 deletionsfs/xfs/xfs_aops.c
- fs/xfs/xfs_bmap_util.c 3 additions, 6 deletionsfs/xfs/xfs_bmap_util.c
- fs/xfs/xfs_bmap_util.h 1 addition, 1 deletionfs/xfs/xfs_bmap_util.h
- fs/xfs/xfs_iomap.c 2 additions, 2 deletionsfs/xfs/xfs_iomap.c
- fs/xfs/xfs_quota.h 4 additions, 3 deletionsfs/xfs/xfs_quota.h
- fs/xfs/xfs_reflink.c 3 additions, 8 deletionsfs/xfs/xfs_reflink.c
Please register or sign in to comment