提交 3c85c36c 编写于 作者: D David Chinner 提交者: Lachlan McIlroy

[XFS] xfs_quiesce_fs() never returns an error. Mark it void.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30780a
Signed-off-by: NDavid Chinner <dgc@sgi.com>
Signed-off-by: NNiv Sardi <xaiki@sgi.com>
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
上级 b6ddc4e6
...@@ -637,7 +637,7 @@ xfs_unmount( ...@@ -637,7 +637,7 @@ xfs_unmount(
return XFS_ERROR(error); return XFS_ERROR(error);
} }
STATIC int STATIC void
xfs_quiesce_fs( xfs_quiesce_fs(
xfs_mount_t *mp) xfs_mount_t *mp)
{ {
...@@ -661,8 +661,6 @@ xfs_quiesce_fs( ...@@ -661,8 +661,6 @@ xfs_quiesce_fs(
count++; count++;
} }
} while (count < 2); } while (count < 2);
return 0;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册