Re: enbd-fr1 on 2.6.11.12 problems
denis bonnenfant <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
>> CC [M] drivers/block/enbd/enbd_base.o
>>drivers/block/enbd/enbd_base.c: In function `enbd_soft_reset':
>>drivers/block/enbd/enbd_base.c:3225: too many arguments to function
>>`__invalidate_device'
>
>
> Well, you'll have to look how that function ahas changed, and modify
> the call accordingly.
>
>
>>I just comment the line, as you seemed to do on some other places...
>
>
> Well, you need to call it there, I believe! Otherwise buffers will
> stay in existence after the device has disappeared.
>
I changed to :
__invalidate_device(lo->inode->i_bdev);
as the second argument has disappeared.