[GIT PULL] Btrfs fixes for 5.13-rc6

From: David Sterba
Date: Wed Jun 09 2021 - 09:31:28 EST


Hi,

a few more fixes that people hit during testing. Please pull, thanks.

- in zomed mode, fix 32bit value wrapping when calculating superblock
offsets

- error handling
- properly check filesystema and device uuids
- properly return errors when marking extents as written
- do not write supers if we have an fs error

----------------------------------------------------------------
The following changes since commit 503d1acb01826b42e5afb496dfcc32751bec9478:

MAINTAINERS: add btrfs IRC link (2021-06-03 15:40:38 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.13-rc5-tag

for you to fetch changes up to aefd7f7065567a4666f42c0fc8cdb379d2e036bf:

btrfs: promote debugging asserts to full-fledged checks in validate_super (2021-06-04 13:12:06 +0200)

----------------------------------------------------------------
Josef Bacik (1):
btrfs: do not write supers if we have an fs error

Naohiro Aota (1):
btrfs: zoned: fix zone number to sector/physical calculation

Nikolay Borisov (1):
btrfs: promote debugging asserts to full-fledged checks in validate_super

Ritesh Harjani (1):
btrfs: return value from btrfs_mark_extent_written() in case of error

fs/btrfs/disk-io.c | 26 ++++++++++++++++++--------
fs/btrfs/file.c | 4 ++--
fs/btrfs/tree-log.c | 16 ++++++++++++++++
fs/btrfs/zoned.c | 23 ++++++++++++++++++-----
4 files changed, 54 insertions(+), 15 deletions(-)