fcntl always fails to delete lock file, and PID is always -6464

John Baldwin jhb at freebsd.org
Mon Oct 11 18:13:44 UTC 2010


On Tuesday, October 05, 2010 2:39:26 am Daichi GOTO wrote:
> Next step discussion engaged from this research I guess.
> 
> Should we do change FreeBSD's fcntl(2) to return correct l_pid
> when called with F_SETLK?  Or keep current behavior??
> I want to hear other developers ideas and suggetions.

POSIX doesn't say that F_SETLK returns a valid l_pid, so I think FreeBSD's 
current behavior is fine.

-- 
John Baldwin


More information about the freebsd-fs mailing list