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)
commit7370997d48520ad923e8eb4deb59ebf290396202
tree30ef50ddfa727c63a9cd10948c8b007a07259e51
parent6d53a9fe5a1983490bc14b3a64d49fabb4ccc651
partitions/ibm: fix non-DASD devices

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

Cc: stable@vger.kernel.org
Fixes: 26d7e28e3820 ("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