[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200507154554.GA32006@lst.de>
Date: Thu, 7 May 2020 17:45:54 +0200
From: Christoph Hellwig <hch@....de>
To: Stefan Haberland <sth@...ux.ibm.com>
Cc: Christoph Hellwig <hch@....de>, axboe@...nel.dk,
linux-block@...r.kernel.org, hoeppner@...ux.ibm.com,
linux-s390@...r.kernel.org, heiko.carstens@...ibm.com,
gor@...ux.ibm.com, borntraeger@...ibm.com,
linux-kernel@...r.kernel.org,
Peter Oberparleiter <oberpar@...ux.ibm.com>
Subject: Re: [PATCH 1/1] s390/dasd: remove ioctl_by_bdev from DASD driver
On Thu, May 07, 2020 at 05:43:40PM +0200, Stefan Haberland wrote:
> Not checked till now. I just was thinking about the basicapproach.
>
> I could either check the block_device_operations like you suggested
> or I could verify that the gendisk pointer is already in our devmap
> and therefor belongs to the DASD driver.
The ops pointer check is simpler and cheaper, so I'd suggest that.
Powered by blists - more mailing lists