Commit c2b1cba6 authored by David Chinner's avatar David Chinner Committed by Lachlan McIlroy

[XFS] xfs_bmap_adjacent() never returns an error.

Mark it void.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30798a
Signed-off-by: default avatarDavid Chinner <dgc@sgi.com>
Signed-off-by: default avatarNiv Sardi <xaiki@sgi.com>
Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
parent 12375c82
...@@ -2402,7 +2402,7 @@ xfs_bmap_extsize_align( ...@@ -2402,7 +2402,7 @@ xfs_bmap_extsize_align(
#define XFS_ALLOC_GAP_UNITS 4 #define XFS_ALLOC_GAP_UNITS 4
STATIC int STATIC void
xfs_bmap_adjacent( xfs_bmap_adjacent(
xfs_bmalloca_t *ap) /* bmap alloc argument struct */ xfs_bmalloca_t *ap) /* bmap alloc argument struct */
{ {
...@@ -2548,7 +2548,6 @@ xfs_bmap_adjacent( ...@@ -2548,7 +2548,6 @@ xfs_bmap_adjacent(
ap->rval = gotbno; ap->rval = gotbno;
} }
#undef ISVALID #undef ISVALID
return 0;
} }
STATIC int STATIC int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment