]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add "0x" prefix for unsupported optional features
authorQu Wenruo <wqu@suse.com>
Tue, 10 May 2022 07:10:18 +0000 (15:10 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 17 May 2022 18:15:25 +0000 (20:15 +0200)
commit3f513197572a776ed0408835350093c07d7fecf9
treed20583bc27793240ecaee09ea9849c9d0eba8ab1
parent999c0d1b21fcd1c76bc6976907aa293f8c52017a
btrfs: add "0x" prefix for unsupported optional features

The following error message lack the "0x" obviously:

  cannot mount because of unsupported optional features (4000)

Add the prefix to make it less confusing. This can happen on older
kernels that try to mount a filesystem with newer features so it makes
sense to backport to older trees.

CC: stable@vger.kernel.org # 4.14+
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c