提交 c2b1cba6 编写于 作者: D David Chinner 提交者: 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: NDavid Chinner <dgc@sgi.com>
Signed-off-by: NNiv Sardi <xaiki@sgi.com>
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册