On Mon, 9 Feb 2009, Erin Teran wrote: > 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. Is that good or bad? What do you see when the problem doesn't occur? > Anyone got a clue when this counter is increased - only when dev_open() returns successfully or when the app calls open()? It probably gets incremented when a process forks or clones itself. The only way to find out for sure is to search through the kernel source for occurrences of f_count. > So it seems I have to find a missing open fd. Yes. Alan Stern -- 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