diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 27e1bea8169f..51305242ff8c 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -1536,9 +1536,6 @@ xfs_release( | |||
1536 | error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); | 1536 | error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); |
1537 | if (error) | 1537 | if (error) |
1538 | return error; | 1538 | return error; |
1539 | /* Update linux inode block count after free above */ | ||
1540 | vn_to_inode(vp)->i_blocks = XFS_FSB_TO_BB(mp, | ||
1541 | ip->i_d.di_nblocks + ip->i_delayed_blks); | ||
1542 | } | 1539 | } |
1543 | } | 1540 | } |
1544 | 1541 | ||
@@ -1612,9 +1609,6 @@ xfs_inactive( | |||
1612 | error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); | 1609 | error = xfs_free_eofblocks(mp, ip, XFS_FREE_EOF_LOCK); |
1613 | if (error) | 1610 | if (error) |
1614 | return VN_INACTIVE_CACHE; | 1611 | return VN_INACTIVE_CACHE; |
1615 | /* Update linux inode block count after free above */ | ||
1616 | vn_to_inode(vp)->i_blocks = XFS_FSB_TO_BB(mp, | ||
1617 | ip->i_d.di_nblocks + ip->i_delayed_blks); | ||
1618 | } | 1612 | } |
1619 | goto out; | 1613 | goto out; |
1620 | } | 1614 | } |