Re: USB gadget problem with close of a gadgetfs device

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

 



Hello,

I had a look into the poll() fix and the open file descriptor issue.

I added the fix, but the section with the fix is never called.

I also found a way to get the open count in dev_open() of inode.c.
Using atom_read(&fd->f_count) I see a count of 1 when the problem occurs.

Anyone got a clue when this counter is increased - only when dev_open() returns successfully or when the app calls open()?

So it seems I have to find a missing open fd.



=
Risk Management of Having China Business
risk management solution retains your profit in having China business.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=f66105ca4e52379522d070f24bd591cb


-- 
Powered by Outblaze
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux