aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index ca38fb9a9937..dd4621e0ab3b 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -3825,7 +3825,8 @@ xfs_zero_remaining_bytes(
3825 XFS_BUF_READ(bp); 3825 XFS_BUF_READ(bp);
3826 XFS_BUF_SET_ADDR(bp, XFS_FSB_TO_DB(ip, imap.br_startblock)); 3826 XFS_BUF_SET_ADDR(bp, XFS_FSB_TO_DB(ip, imap.br_startblock));
3827 xfsbdstrat(mp, bp); 3827 xfsbdstrat(mp, bp);
3828 if ((error = xfs_iowait(bp))) { 3828 error = xfs_iowait(bp);
3829 if (error) {
3829 xfs_ioerror_alert("xfs_zero_remaining_bytes(read)", 3830 xfs_ioerror_alert("xfs_zero_remaining_bytes(read)",
3830 mp, bp, XFS_BUF_ADDR(bp)); 3831 mp, bp, XFS_BUF_ADDR(bp));
3831 break; 3832 break;
@@ -3837,7 +3838,8 @@ xfs_zero_remaining_bytes(
3837 XFS_BUF_UNREAD(bp); 3838 XFS_BUF_UNREAD(bp);
3838 XFS_BUF_WRITE(bp); 3839 XFS_BUF_WRITE(bp);
3839 xfsbdstrat(mp, bp); 3840 xfsbdstrat(mp, bp);
3840 if ((error = xfs_iowait(bp))) { 3841 error = xfs_iowait(bp);
3842 if (error) {
3841 xfs_ioerror_alert("xfs_zero_remaining_bytes(write)", 3843 xfs_ioerror_alert("xfs_zero_remaining_bytes(write)",
3842 mp, bp, XFS_BUF_ADDR(bp)); 3844 mp, bp, XFS_BUF_ADDR(bp));
3843 break; 3845 break;