diff options
-rw-r--r-- | fs/xfs/xfs_aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 0fd7c2bfa402..79a01395c4c3 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c | |||
@@ -1434,7 +1434,7 @@ xfs_vm_write_failed( | |||
1434 | * Check if there are any blocks that are outside of i_size | 1434 | * Check if there are any blocks that are outside of i_size |
1435 | * that need to be trimmed back. | 1435 | * that need to be trimmed back. |
1436 | */ | 1436 | */ |
1437 | start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size) + 1; | 1437 | start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size); |
1438 | end_fsb = XFS_B_TO_FSB(ip->i_mount, to); | 1438 | end_fsb = XFS_B_TO_FSB(ip->i_mount, to); |
1439 | if (end_fsb <= start_fsb) | 1439 | if (end_fsb <= start_fsb) |
1440 | return; | 1440 | return; |