提交 7b073390 编写于 作者: D David Chinner 提交者: Lachlan McIlroy

[XFS] xfs_bulkstat_one_dinode() never returns an error.

Mark it void.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30828a
Signed-off-by: NDavid Chinner <dgc@sgi.com>
Signed-off-by: NNiv Sardi <xaiki@sgi.com>
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
上级 e4ac967b
...@@ -129,7 +129,7 @@ xfs_bulkstat_one_iget( ...@@ -129,7 +129,7 @@ xfs_bulkstat_one_iget(
return error; return error;
} }
STATIC int STATIC void
xfs_bulkstat_one_dinode( xfs_bulkstat_one_dinode(
xfs_mount_t *mp, /* mount point for filesystem */ xfs_mount_t *mp, /* mount point for filesystem */
xfs_ino_t ino, /* inode number to get data for */ xfs_ino_t ino, /* inode number to get data for */
...@@ -198,8 +198,6 @@ xfs_bulkstat_one_dinode( ...@@ -198,8 +198,6 @@ xfs_bulkstat_one_dinode(
buf->bs_blocks = be64_to_cpu(dic->di_nblocks); buf->bs_blocks = be64_to_cpu(dic->di_nblocks);
break; break;
} }
return 0;
} }
STATIC int STATIC int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册