tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: struct file at VFS level (round 1.5)
On Tue, May 03, 2016 at 12:05:01PM +0200, Christoph Badura wrote:
> Didn't I just explain to you that a struct file is never an owner for
> these locks? Didn't others explain that to you too?
Well, I need you to explain me what happens in sys_flock() then.
Is it a bug?
error = VOP_ADVLOCK(vp, fp, F_UNLCK, &lf, F_FLOCK);
fp is struct file. Same thing happens in open_setfp() and closef()
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index