summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-04-10 04:21:40 +0200
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 03:58:46 +0200
commitc2b1cba6833da77b1b478ac144f9cf5144d276ec (patch)
tree6e5bd6ccdc83cb6dbc13ea2807b7d54e9279868c /fs/xfs/xfs_bmap.c
parent[XFS] Make xfs_alloc_compute_aligned() void. (diff)
downloadlinux-c2b1cba6833da77b1b478ac144f9cf5144d276ec.tar.xz
linux-c2b1cba6833da77b1b478ac144f9cf5144d276ec.zip
[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>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 65b8fa83e078..6d9b5448deb2 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -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