aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_lrw.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_lrw.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_lrw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c
index 8696096f8d22..3e76c5c9dda1 100644
--- a/fs/xfs/linux-2.6/xfs_lrw.c
+++ b/fs/xfs/linux-2.6/xfs_lrw.c
@@ -668,11 +668,11 @@ xfs_write(
668 io = &xip->i_iocore; 668 io = &xip->i_iocore;
669 mp = io->io_mount; 669 mp = io->io_mount;
670 670
671 vfs_wait_for_freeze(vp->v_vfsp, SB_FREEZE_WRITE);
672
671 if (XFS_FORCED_SHUTDOWN(mp)) 673 if (XFS_FORCED_SHUTDOWN(mp))
672 return -EIO; 674 return -EIO;
673 675
674 fs_check_frozen(vp->v_vfsp, SB_FREEZE_WRITE);
675
676 if (ioflags & IO_ISDIRECT) { 676 if (ioflags & IO_ISDIRECT) {
677 xfs_buftarg_t *target = 677 xfs_buftarg_t *target =
678 (xip->i_d.di_flags & XFS_DIFLAG_REALTIME) ? 678 (xip->i_d.di_flags & XFS_DIFLAG_REALTIME) ?