summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2023-10-17 10:23:22 +0300
committerDavid Sterba <dsterba@suse.com>2023-11-03 18:38:56 +0300
commitdfcb03ae8a341600d72fbf3c79429f306764d653 (patch)
treeedccc2c454b04099b71efcc352c96e75d79235c9 /fs/char_dev.c
parentb8212814d1e8428a082234223105e4071b844fab (diff)
downloadlinux-dfcb03ae8a341600d72fbf3c79429f306764d653.tar.xz
btrfs: zoned: drop no longer valid write pointer check
There is a check of the write pointer vs the zone size to reject an invalid write pointer. However, as of now, we have RAID0/RAID10 on the zoned mode, we can have a block group whose size is larger than the zone size. As an equivalent check against the block group's zone_capacity is already there, we can just drop this invalid check. Fixes: 568220fa9657 ("btrfs: zoned: support RAID0/1/10 on top of raid stripe tree") Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions