[GIT PULL] Btrfs fixes for 5.3-rc5

From: David Sterba
Date: Sun Aug 18 2019 - 07:58:34 EST


Hi,

please pull two fixes that pop during testing:

* fix for sysfs-related code that adds/removes block groups, warnings
appear during several fstests in connection with sysfs updates in 5.3,
the fix essentially replaces a workaround with scope NOFS and applies
to 5.2-based branch too

* add sanity check of trim range

Thanks.

----------------------------------------------------------------
The following changes since commit a6d155d2e363f26290ffd50591169cb96c2a609e:

Btrfs: fix deadlock between fiemap and transaction commits (2019-07-30 18:25:12 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.3-rc4-tag

for you to fetch changes up to 07301df7d2fc220d3de5f7ad804dcb941400cb00:

btrfs: trim: Check the range passed into to prevent overflow (2019-08-07 16:42:39 +0200)

----------------------------------------------------------------
Filipe Manana (1):
Btrfs: fix sysfs warning and missing raid sysfs directories

Qu Wenruo (1):
btrfs: trim: Check the range passed into to prevent overflow

fs/btrfs/ctree.h | 4 ---
fs/btrfs/disk-io.c | 2 --
fs/btrfs/extent-tree.c | 71 +++++++++++++++++++++++++-------------------------
fs/btrfs/volumes.c | 13 ---------
4 files changed, 35 insertions(+), 55 deletions(-)