]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: remove ioctl_by_bdev calls
authorStefan Haberland <sth@linux.ibm.com>
Tue, 19 May 2020 14:22:59 +0000 (16:22 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 May 2020 14:22:20 +0000 (08:22 -0600)
commit26d7e28e38206b1b3207af1409eee2269ab36f82
treec85113c310dd12ebcb286e91904eb9054e435a73
parent9353848c6589ffe6373d03f3a58feaeda1009641
s390/dasd: remove ioctl_by_bdev calls

The IBM partition parser requires device type specific information only
available to the DASD driver to correctly register partitions. The
current approach of using ioctl_by_bdev with a fake user space pointer
is discouraged.

Fix this by replacing IOCTL calls with direct in-kernel function calls.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
MAINTAINERS
block/partitions/ibm.c
drivers/s390/block/dasd_ioctl.c
include/linux/dasd_mod.h [new file with mode: 0644]