On 2018年03月06日 13:44, Mike Snitzer wrote:
> On Mon, Mar 05 2018 at 10:35pm -0500,
> Wang Sheng-Hui wrote:
>
>> Dear,
>>
>> Sorry to trouble you.
>>
>> I noticed some code in dm-*.c like:
>> "
>> static int multipath_prepare_ioctl(struct dm_target *ti,
>> struct
Dear,
Sorry to trouble you.
I noticed some code in dm-*.c like:
"
static int multipath_prepare_ioctl(struct dm_target *ti,
struct block_device **bdev, fmode_t *mode)
{
...
/*
* Only pass ioctls through if the device sizes match exactly.
*/
if (!r
On Mon, Mar 05 2018 at 10:35pm -0500,
Wang Sheng-Hui wrote:
> Dear,
>
> Sorry to trouble you.
>
> I noticed some code in dm-*.c like:
> "
> static int multipath_prepare_ioctl(struct dm_target *ti,
> struct block_device **bdev, fmode_t *mode)
> {
> ...
>