]> git.baikalelectronics.ru Git - kernel.git/commit
partitions/ibm: fix non-DASD devices
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 12:40:09 +0000 (14:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Oct 2020 13:55:35 +0000 (07:55 -0600)
commite227d2999c03991406f5428c660ca66fadc0f0c6
tree30ef50ddfa727c63a9cd10948c8b007a07259e51
parentb8a10fc6783c45e219de0fe63ea5f30dffdb1759
partitions/ibm: fix non-DASD devices

Don't error out if the dasd_biodasdinfo symbol is not available.

Cc: stable@vger.kernel.org
Fixes: ac0c327e11dc ("s390/dasd: remove ioctl_by_bdev calls")
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/ibm.c