Re: [PATCH] mmc: block: Fix bug when removing RPMB chardev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 3, 2017 at 1:07 PM, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> On 03/10/17 13:00, Linus Walleij wrote:

>> Since I'm still supporting the old refcounting with md->usage
>> as described above, it should behave the same as the old
>> codebase, which might not be very good behaviour but atleast
>> it is not a regression.
>
> How do you know you are not dropping the last reference when you do
> md->usage-- ?

Ah dammit what was I thinking... OK converting to mmc_blk_get()
+mmc_blk_put() that should do it.

Sorry for silly mistakes. :/

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux