diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-26 20:06:03 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-28 11:31:01 -0400 |
commit | bc46ac64713f11c86cbbe11a86abd2a71274b15f (patch) | |
tree | bbafcd890483e673a4194df25dca677bce8fbc34 /fs/xfs/libxfs/xfs_rmap.h | |
parent | 2ca09177ab9dae7cc0a888137bd2421f5829cd87 (diff) |
xfs: remove unnecessary int returns from deferred rmap functions
Remove the return value from the functions that schedule deferred rmap
operations since they never fail and do not return status.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rmap.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_rmap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/libxfs/xfs_rmap.h b/fs/xfs/libxfs/xfs_rmap.h index e21ed0294e5c..0c2c3cb73429 100644 --- a/fs/xfs/libxfs/xfs_rmap.h +++ b/fs/xfs/libxfs/xfs_rmap.h | |||
@@ -161,16 +161,16 @@ struct xfs_rmap_intent { | |||
161 | }; | 161 | }; |
162 | 162 | ||
163 | /* functions for updating the rmapbt based on bmbt map/unmap operations */ | 163 | /* functions for updating the rmapbt based on bmbt map/unmap operations */ |
164 | int xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip, | 164 | void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip, |
165 | int whichfork, struct xfs_bmbt_irec *imap); | 165 | int whichfork, struct xfs_bmbt_irec *imap); |
166 | int xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip, | 166 | void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip, |
167 | int whichfork, struct xfs_bmbt_irec *imap); | 167 | int whichfork, struct xfs_bmbt_irec *imap); |
168 | int xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp, | 168 | void xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp, |
169 | struct xfs_inode *ip, int whichfork, | 169 | struct xfs_inode *ip, int whichfork, |
170 | struct xfs_bmbt_irec *imap); | 170 | struct xfs_bmbt_irec *imap); |
171 | int xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno, | 171 | void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno, |
172 | xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); | 172 | xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); |
173 | int xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno, | 173 | void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno, |
174 | xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); | 174 | xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner); |
175 | 175 | ||
176 | void xfs_rmap_finish_one_cleanup(struct xfs_trans *tp, | 176 | void xfs_rmap_finish_one_cleanup(struct xfs_trans *tp, |