diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-02-04 13:21:49 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-09 04:46:03 +0300 |
commit | 381a696eb5f99189a2c8d0d99aae766767f9cb1e (patch) | |
tree | 0d5a2bc05eddf3625436fdfc0c42fcf373a11efa /fs/btrfs/block-group.h | |
parent | 1cd6121f2a382a840f01f506694b54bf403fddc9 (diff) | |
download | linux-381a696eb5f99189a2c8d0d99aae766767f9cb1e.tar.xz |
btrfs: zoned: verify device extent is aligned to zone
Add a check in verify_one_dev_extent() to ensure that a device extent on
a zoned block device is aligned to the respective zone boundary.
If it isn't, mark the filesystem as unclean.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.h')
0 files changed, 0 insertions, 0 deletions