[GIT PULL] Btrfs fixes for 5.9-rc3

From: David Sterba
Date: Mon Aug 24 2020 - 12:45:39 EST


Hi,

a few more fixes. Please pull, Thanks.

- fix swapfile activation on subvolumes with deleted snapshots

- error value mixup when removing directory entries from tree log

- fix lzo compression level reset after previous level setting

- fix space cache memory leak after transaction abort

- fix const function attribute

- more error handling improvements

----------------------------------------------------------------
The following changes since commit c57dd1f2f6a7cd1bb61802344f59ccdc5278c983:

btrfs: trim: fix underflow in trim length to prevent access beyond device boundary (2020-08-12 10:15:58 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.9-rc2-tag

for you to fetch changes up to a84d5d429f9eb56f81b388609841ed993f0ddfca:

btrfs: detect nocow for swap after snapshot delete (2020-08-21 12:21:23 +0200)

----------------------------------------------------------------
Boris Burkov (1):
btrfs: detect nocow for swap after snapshot delete

David Sterba (1):
btrfs: use the correct const function attribute for btrfs_get_num_csums

Filipe Manana (1):
btrfs: fix space cache memory leak after transaction abort

Johannes Thumshirn (1):
btrfs: handle errors from async submission

Josef Bacik (1):
btrfs: check the right error variable in btrfs_del_dir_entries_in_log

Marcos Paulo de Souza (1):
btrfs: reset compression level for lzo on remount

fs/btrfs/ctree.c | 2 +-
fs/btrfs/ctree.h | 6 +++---
fs/btrfs/disk-io.c | 1 +
fs/btrfs/extent-tree.c | 17 +++++++++++------
fs/btrfs/file.c | 2 +-
fs/btrfs/free-space-cache.c | 2 +-
fs/btrfs/inode.c | 29 ++++++++++++++---------------
fs/btrfs/super.c | 1 +
fs/btrfs/tree-log.c | 10 ++++++----
9 files changed, 39 insertions(+), 31 deletions(-)