Jan. 29, 2013
9:38 p.m.
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.