summaryrefslogtreecommitdiff
path: root/crypto/seed.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2018-10-12 19:08:44 +0900
committerJens Axboe <axboe@kernel.dk>2018-10-25 11:17:40 -0600
commit2e85fbaff3a71e46038ec736186c42ffa721c775 (patch)
tree09f8f2e909939e916a95e92ac59a8921758cac74 /crypto/seed.c
parenta91e138022bc29b5d2bbc56b41de3e0db6261e28 (diff)
block: Limit allocation of zone descriptors for report zones
There is no point in allocating more zone descriptors than the number of zones a block device has for doing a zone report. Avoid doing that in blkdev_report_zones_ioctl() by limiting the number of zone decriptors allocated internally to process the user request. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions