aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c8
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 7c621dfee73d..fcb4931902ac 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -746,14 +746,6 @@ xfs_mountfs_check_barriers(xfs_mount_t *mp)
746 return; 746 return;
747 } 747 }
748 748
749 if (mp->m_ddev_targp->bt_bdev->bd_disk->queue->ordered ==
750 QUEUE_ORDERED_NONE) {
751 xfs_fs_cmn_err(CE_NOTE, mp,
752 "Disabling barriers, not supported by the underlying device");
753 mp->m_flags &= ~XFS_MOUNT_BARRIER;
754 return;
755 }
756
757 if (xfs_readonly_buftarg(mp->m_ddev_targp)) { 749 if (xfs_readonly_buftarg(mp->m_ddev_targp)) {
758 xfs_fs_cmn_err(CE_NOTE, mp, 750 xfs_fs_cmn_err(CE_NOTE, mp,
759 "Disabling barriers, underlying device is readonly"); 751 "Disabling barriers, underlying device is readonly");