Thread (12 messages) 12 messages, 2 authors, 2020-05-07

Re: [PATCH 1/1] s390/dasd: remove ioctl_by_bdev from DASD driver

From: Christoph Hellwig <hch@lst.de>
Date: 2020-05-07 15:45:59
Also in: linux-s390, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help