diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2007-02-10 02:35:33 -0500 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-02-10 02:35:33 -0500 |
commit | 1f9b3b64d417a714eb79d9a4cd4927ab304b0fc0 (patch) | |
tree | 193664b3b8d154d885ba0a49f8726a3d3007ccc7 /fs/xfs/xfs_vfsops.c | |
parent | 1c91ad3aedba82a64ae06a5a0a5651105d378112 (diff) |
[XFS] remove unused xflags parameter from sync routines
SGI-PV: 959137
SGI-Modid: xfs-linux-melb:xfs-kern:27710a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 62336a4cc5a4..aec4e8d9cba7 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -640,7 +640,7 @@ xfs_quiesce_fs( | |||
640 | * we can write the unmount record. | 640 | * we can write the unmount record. |
641 | */ | 641 | */ |
642 | do { | 642 | do { |
643 | xfs_syncsub(mp, SYNC_REMOUNT|SYNC_ATTR|SYNC_WAIT, 0, NULL); | 643 | xfs_syncsub(mp, SYNC_REMOUNT|SYNC_ATTR|SYNC_WAIT, NULL); |
644 | pincount = xfs_flush_buftarg(mp->m_ddev_targp, 1); | 644 | pincount = xfs_flush_buftarg(mp->m_ddev_targp, 1); |
645 | if (!pincount) { | 645 | if (!pincount) { |
646 | delay(50); | 646 | delay(50); |
@@ -886,24 +886,20 @@ xfs_sync( | |||
886 | if (unlikely(flags == SYNC_QUIESCE)) | 886 | if (unlikely(flags == SYNC_QUIESCE)) |
887 | return xfs_quiesce_fs(mp); | 887 | return xfs_quiesce_fs(mp); |
888 | else | 888 | else |
889 | return xfs_syncsub(mp, flags, 0, NULL); | 889 | return xfs_syncsub(mp, flags, NULL); |
890 | } | 890 | } |
891 | 891 | ||
892 | /* | 892 | /* |
893 | * xfs sync routine for internal use | 893 | * xfs sync routine for internal use |
894 | * | 894 | * |
895 | * This routine supports all of the flags defined for the generic vfs_sync | 895 | * This routine supports all of the flags defined for the generic vfs_sync |
896 | * interface as explained above under xfs_sync. In the interests of not | 896 | * interface as explained above under xfs_sync. |
897 | * changing interfaces within the 6.5 family, additional internally- | ||
898 | * required functions are specified within a separate xflags parameter, | ||
899 | * only available by calling this routine. | ||
900 | * | 897 | * |
901 | */ | 898 | */ |
902 | int | 899 | int |
903 | xfs_sync_inodes( | 900 | xfs_sync_inodes( |
904 | xfs_mount_t *mp, | 901 | xfs_mount_t *mp, |
905 | int flags, | 902 | int flags, |
906 | int xflags, | ||
907 | int *bypassed) | 903 | int *bypassed) |
908 | { | 904 | { |
909 | xfs_inode_t *ip = NULL; | 905 | xfs_inode_t *ip = NULL; |
@@ -1412,17 +1408,13 @@ xfs_sync_inodes( | |||
1412 | * xfs sync routine for internal use | 1408 | * xfs sync routine for internal use |
1413 | * | 1409 | * |
1414 | * This routine supports all of the flags defined for the generic vfs_sync | 1410 | * This routine supports all of the flags defined for the generic vfs_sync |
1415 | * interface as explained above under xfs_sync. In the interests of not | 1411 | * interface as explained above under xfs_sync. |
1416 | * changing interfaces within the 6.5 family, additional internally- | ||
1417 | * required functions are specified within a separate xflags parameter, | ||
1418 | * only available by calling this routine. | ||
1419 | * | 1412 | * |
1420 | */ | 1413 | */ |
1421 | int | 1414 | int |
1422 | xfs_syncsub( | 1415 | xfs_syncsub( |
1423 | xfs_mount_t *mp, | 1416 | xfs_mount_t *mp, |
1424 | int flags, | 1417 | int flags, |
1425 | int xflags, | ||
1426 | int *bypassed) | 1418 | int *bypassed) |
1427 | { | 1419 | { |
1428 | int error = 0; | 1420 | int error = 0; |
@@ -1444,7 +1436,7 @@ xfs_syncsub( | |||
1444 | if (flags & SYNC_BDFLUSH) | 1436 | if (flags & SYNC_BDFLUSH) |
1445 | xfs_finish_reclaim_all(mp, 1); | 1437 | xfs_finish_reclaim_all(mp, 1); |
1446 | else | 1438 | else |
1447 | error = xfs_sync_inodes(mp, flags, xflags, bypassed); | 1439 | error = xfs_sync_inodes(mp, flags, bypassed); |
1448 | } | 1440 | } |
1449 | 1441 | ||
1450 | /* | 1442 | /* |