]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_alloc_btree.c
xfs: invalidate allocbt blocks moved to the free list
[karo-tx-linux.git] / fs / xfs / xfs_alloc_btree.c
index f1647caace8fe66eeda2bd51cf5e679028d7b50e..f7876c6d616553d222295624a20f4c168c4c021d 100644 (file)
@@ -121,6 +121,8 @@ 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;
 }