commit | 5c4bd1f40c23d08ffbdccd68a5fd63751c794d89 | [log] [tgz] |
---|---|---|
author | Damien Le Moal <damien.lemoal@wdc.com> | Tue Dec 03 10:39:01 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 03 08:51:24 2019 -0700 |
tree | 20b405541c6e1b71dd27c60105d067fa3a76cea2 | |
parent | 795ee49c1a28d1b3eeb2b463f18d557700fc6153 [diff] |
null_blk: fix zone size paramter check For zoned=1 mode, the zone size must be a power of 2. Check this not only when the zone size is specified during modprobe, but also when creating a zoned null_blk device using configfs. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>