diff options
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 5b363fcf866..82e1646e624 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -1112,15 +1112,6 @@ xfs_unmountfs(xfs_mount_t *mp, struct cred *cr) | |||
1112 | */ | 1112 | */ |
1113 | ASSERT(mp->m_inodes == NULL); | 1113 | ASSERT(mp->m_inodes == NULL); |
1114 | 1114 | ||
1115 | /* | ||
1116 | * We may have bufs that are in the process of getting written still. | ||
1117 | * We must wait for the I/O completion of those. The sync flag here | ||
1118 | * does a two pass iteration thru the bufcache. | ||
1119 | */ | ||
1120 | if (XFS_FORCED_SHUTDOWN(mp)) { | ||
1121 | xfs_incore_relse(mp->m_ddev_targp, 0, 1); /* synchronous */ | ||
1122 | } | ||
1123 | |||
1124 | xfs_unmountfs_close(mp, cr); | 1115 | xfs_unmountfs_close(mp, cr); |
1125 | if ((mp->m_flags & XFS_MOUNT_NOUUID) == 0) | 1116 | if ((mp->m_flags & XFS_MOUNT_NOUUID) == 0) |
1126 | xfs_uuid_unmount(mp); | 1117 | xfs_uuid_unmount(mp); |