mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
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 <[email protected]> Signed-off-by: Stefan Haberland <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Reviewed-by: Peter Oberparleiter <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
10 lines
187 B
C
10 lines
187 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef DASD_MOD_H
|
|
#define DASD_MOD_H
|
|
|
|
#include <asm/dasd.h>
|
|
|
|
extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info);
|
|
|
|
#endif
|