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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c
index 5b95a7297fd1..5d284403b411 100644
--- a/fs/xfs/linux-2.6/xfs_lrw.c
+++ b/fs/xfs/linux-2.6/xfs_lrw.c
@@ -621,7 +621,7 @@ xfs_write(
621 io = &xip->i_iocore; 621 io = &xip->i_iocore;
622 mp = io->io_mount; 622 mp = io->io_mount;
623 623
624 vfs_wait_for_freeze(XFS_MTOVFS(mp), SB_FREEZE_WRITE); 624 xfs_wait_for_freeze(mp, SB_FREEZE_WRITE);
625 625
626 if (XFS_FORCED_SHUTDOWN(mp)) 626 if (XFS_FORCED_SHUTDOWN(mp))
627 return -EIO; 627 return -EIO;