aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tests/btrfs-tests.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-04-23 08:29:14 +0200
committerDavid Sterba <dsterba@suse.com>2025-05-15 14:30:49 +0200
commit13d6d866e8ca25555f0599fe9408cb86afda85f2 (patch)
tree5bc221c37291d0c434e3a2d054032b4fbbc0f683 /fs/btrfs/tests/btrfs-tests.c
parentbtrfs: reformat comments in acls_after_inode_item() (diff)
downloadwireguard-linux-13d6d866e8ca25555f0599fe9408cb86afda85f2.tar.xz
wireguard-linux-13d6d866e8ca25555f0599fe9408cb86afda85f2.zip
btrfs: on unknown chunk allocation policy fallback to regular
We have only two chunk allocation policies right now and the switch/cases don't handle an unknown one properly. The error is in the impossible category (the policy is stored only in memory), we don't have to BUG(), falling back to regular policy should be safe. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.c')
0 files changed, 0 insertions, 0 deletions