diff options
-rw-r--r-- | fs/xfs/xfs_bmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 896e16f08ed9..e546a33214c9 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -2916,8 +2916,10 @@ xfs_bmap_del_extent( | |||
2916 | */ | 2916 | */ |
2917 | xfs_iext_remove(ip, *idx, 1, | 2917 | xfs_iext_remove(ip, *idx, 1, |
2918 | whichfork == XFS_ATTR_FORK ? BMAP_ATTRFORK : 0); | 2918 | whichfork == XFS_ATTR_FORK ? BMAP_ATTRFORK : 0); |
2919 | --*idx; | ||
2919 | if (delay) | 2920 | if (delay) |
2920 | break; | 2921 | break; |
2922 | |||
2921 | XFS_IFORK_NEXT_SET(ip, whichfork, | 2923 | XFS_IFORK_NEXT_SET(ip, whichfork, |
2922 | XFS_IFORK_NEXTENTS(ip, whichfork) - 1); | 2924 | XFS_IFORK_NEXTENTS(ip, whichfork) - 1); |
2923 | flags |= XFS_ILOG_CORE; | 2925 | flags |= XFS_ILOG_CORE; |