diff options
author | Christoph Hellwig <hch@lst.de> | 2016-02-08 06:58:07 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-08 06:58:07 +0300 |
commit | edfd9dd549212a0923c9b5b142275dc88912abfa (patch) | |
tree | 8d096dd78a94b1f4594afcbefec9d187de060923 /fs/xfs/libxfs/xfs_alloc_btree.c | |
parent | c46ee8ad7856b58eeb383c30ce847897f85c4103 (diff) | |
download | linux-edfd9dd549212a0923c9b5b142275dc88912abfa.tar.xz |
xfs: move buffer invalidation to xfs_btree_free_block
... instead of leaving it in the methods.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_alloc_btree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc_btree.c b/fs/xfs/libxfs/xfs_alloc_btree.c index 444626ddbd1b..d9b42425291e 100644 --- a/fs/xfs/libxfs/xfs_alloc_btree.c +++ b/fs/xfs/libxfs/xfs_alloc_btree.c @@ -118,8 +118,6 @@ xfs_allocbt_free_block( xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, XFS_EXTENT_BUSY_SKIP_DISCARD); xfs_trans_agbtree_delta(cur->bc_tp, -1); - - xfs_trans_binval(cur->bc_tp, bp); return 0; } |