diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 491d1f4f202d..17ad5e463710 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -304,14 +304,6 @@ xfs_mountfs_check_barriers(xfs_mount_t *mp) | |||
304 | return; | 304 | return; |
305 | } | 305 | } |
306 | 306 | ||
307 | if (mp->m_ddev_targp->bt_bdev->bd_disk->queue->ordered == | ||
308 | QUEUE_ORDERED_NONE) { | ||
309 | xfs_fs_cmn_err(CE_NOTE, mp, | ||
310 | "Disabling barriers, not supported by the underlying device"); | ||
311 | mp->m_flags &= ~XFS_MOUNT_BARRIER; | ||
312 | return; | ||
313 | } | ||
314 | |||
315 | if (xfs_readonly_buftarg(mp->m_ddev_targp)) { | 307 | if (xfs_readonly_buftarg(mp->m_ddev_targp)) { |
316 | xfs_fs_cmn_err(CE_NOTE, mp, | 308 | xfs_fs_cmn_err(CE_NOTE, mp, |
317 | "Disabling barriers, underlying device is readonly"); | 309 | "Disabling barriers, underlying device is readonly"); |