7 May
2019
7 May
'19
7:56 a.m.
On Mon, May 06, 2019 at 10:08:10PM +0530, Vinod Koul wrote:
Yes, but then device exit routine is supposed to do debugfs cleanup as well, so that would ensure these references are dropped at that point of time. Greg should that not take care of it or we *should* always do refcounting.
Always do refcounting. How else can you "guarantee" that it is safe?