summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-12-03 10:39:01 +0100
committerJens Axboe <axboe@kernel.dk>2019-12-03 08:51:24 -0700
commit5c4bd1f40c23d08ffbdccd68a5fd63751c794d89 (patch)
tree20b405541c6e1b71dd27c60105d067fa3a76cea2 /security
parent795ee49c1a28d1b3eeb2b463f18d557700fc6153 (diff)
downloadlinux-5c4bd1f40c23d08ffbdccd68a5fd63751c794d89.tar.bz2
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions