• J
    Btrfs: fix btrfs_destroy_marked_extents · ee670f0a
    Josef Bacik 提交于
    So we're forcing the eb's to have their ref count set to 1 so invalidatepage
    works but this breaks lots of things, for example root nodes, and is just
    plain wrong, we don't need to just evict all of this stuff.  Also drop the
    invalidatepage altogether and add a page_cache_release().  With this patch
    we no longer hang when trying to access the root nodes after an aborted
    transaction and we no longer leak memory.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    ee670f0a
disk-io.c 99.4 KB