]> git.baikalelectronics.ru Git - kernel.git/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)
commitbce281fe141f5c8d68fbae4dd3ba0eb94aa08463
treec85113c310dd12ebcb286e91904eb9054e435a73
parentbe86bb4ea85c15ed0af028d0a8f5892b36d86223
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]