瀏覽代碼

[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: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
David Chinner 17 年之前
父節點
當前提交
3c85c36cc2
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      fs/xfs/xfs_vfsops.c

+ 1 - 3
fs/xfs/xfs_vfsops.c

@@ -637,7 +637,7 @@ out:
 	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(
 			count++;
 			count++;
 		}
 		}
 	} while (count < 2);
 	} while (count < 2);
-
-	return 0;
 }
 }
 
 
 /*
 /*