On Tue, 29 Jan 2013 18:25:19 +0100, Karaoui mohamed lamine said: > This function is supposed to return the file reference, does do the locking? Refcounting only, no locking provided by fdget. > It seems that i can't find the lock instruction( with all those rcu > instructions, i am little lost), can you guide me throught ? Because it isn't there. Concurrent writes can happen - that's why lockf() exists, so that multiple programs that want to scribble on the same file can do their locking.
Attachment:
pgpE0mfZ5FvNF.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies