On Mon, 27 Apr 2015 15:41:31 -0000, cmqycmqy said:
> I want to travese(find out) all opened file struct

Actually, no, you don't.

> i want to find out all process that have open that file.

Hint: There's probably a faster way to do it than checking *all* open files.

You can probably do even better if you explain *why* you want to find
all processes.  If you find them, what do you intend to do?  (Again, depending
on what you're trying to do, there's probably an easier way).

Attachment: pgpW7hOulN8PI.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to