diff options
author | David Chinner <dgc@sgi.com> | 2008-04-10 06:21:40 +0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-18 05:58:46 +0400 |
commit | c2b1cba6833da77b1b478ac144f9cf5144d276ec (patch) | |
tree | 6e5bd6ccdc83cb6dbc13ea2807b7d54e9279868c /fs/xfs | |
parent | 12375c82375ec39ec948a3ad62e5e77533515e83 (diff) | |
download | linux-c2b1cba6833da77b1b478ac144f9cf5144d276ec.tar.xz |
[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')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 3 |
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 |