aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r--fs/xfs/xfs_file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index f03bf1a456fb..3800128d2171 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -775,8 +775,6 @@ xfs_file_aio_write(
775 if (ocount == 0) 775 if (ocount == 0)
776 return 0; 776 return 0;
777 777
778 sb_start_write(inode->i_sb);
779
780 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) { 778 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) {
781 ret = -EIO; 779 ret = -EIO;
782 goto out; 780 goto out;
@@ -800,7 +798,6 @@ xfs_file_aio_write(
800 } 798 }
801 799
802out: 800out:
803 sb_end_write(inode->i_sb);
804 return ret; 801 return ret;
805} 802}
806 803