]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: zoned: print message when zone sanity check type fails
authorNaohiro Aota <naohiro.aota@wdc.com>
Fri, 30 Apr 2021 13:34:17 +0000 (15:34 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:04 +0000 (15:19 +0200)
commit9de96196a83dedf478cb712a59b24947af39df03
tree476152c75a1bf5839916c3ff0d32a79a4193a761
parentf7f9098d41c3af737a1fe34d83c5deb9e9637d21
btrfs: zoned: print message when zone sanity check type fails

This extends patch d983f7101f37 ("btrfs: zoned: sanity check zone
type"), the message was supposed to be there but was lost during merge.
We want to make the error noticeable so add it.

Fixes: d983f7101f37 ("btrfs: zoned: sanity check zone type")
CC: stable@vger.kernel.org # 5.12+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zoned.c