mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
[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: David Chinner <dgc@sgi.com> Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
12375c8237
commit
c2b1cba683
@ -2402,7 +2402,7 @@ xfs_bmap_extsize_align(
|
||||
|
||||
#define XFS_ALLOC_GAP_UNITS 4
|
||||
|
||||
STATIC int
|
||||
STATIC void
|
||||
xfs_bmap_adjacent(
|
||||
xfs_bmalloca_t *ap) /* bmap alloc argument struct */
|
||||
{
|
||||
@ -2548,7 +2548,6 @@ xfs_bmap_adjacent(
|
||||
ap->rval = gotbno;
|
||||
}
|
||||
#undef ISVALID
|
||||
return 0;
|
||||
}
|
||||
|
||||
STATIC int
|
||||
|
Loading…
Reference in New Issue
Block a user