From 159a0c9a1c58c3606a3b3483f0bb3d5d2ca1bda7 Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Thu, 26 Apr 2012 09:23:09 +1000 Subject: [PATCH] --- yaml --- r: 307708 b: refs/heads/master c: 01c84d2dc1311fb76ea217dadfd5b3a5f3cab563 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_aops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 097c3c399f2b..74a30146ffa5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 507630b29f13a3d8689895618b12015308402e22 +refs/heads/master: 01c84d2dc1311fb76ea217dadfd5b3a5f3cab563 diff --git a/trunk/fs/xfs/xfs_aops.c b/trunk/fs/xfs/xfs_aops.c index 0fd7c2bfa402..79a01395c4c3 100644 --- a/trunk/fs/xfs/xfs_aops.c +++ b/trunk/fs/xfs/xfs_aops.c @@ -1434,7 +1434,7 @@ xfs_vm_write_failed( * Check if there are any blocks that are outside of i_size * that need to be trimmed back. */ - start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size) + 1; + start_fsb = XFS_B_TO_FSB(ip->i_mount, inode->i_size); end_fsb = XFS_B_TO_FSB(ip->i_mount, to); if (end_fsb <= start_fsb) return;