Date: Mon, 11 Oct 2010 11:50:00 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-fs@freebsd.org Cc: Daichi GOTO <daichi@freebsd.org>, freebsd-current@freebsd.org, Garrett Cooper <gcooper@freebsd.org> Subject: Re: fcntl always fails to delete lock file, and PID is always -6464 Message-ID: <201010111150.00785.jhb@freebsd.org> In-Reply-To: <20101005153926.88b4c1e1.daichi@freebsd.org> References: <20101004123725.65d09b9e.daichi@ongs.co.jp> <AANLkTi=w5ZAfRymSYbL6X37uyYX17J2dW8LHVcPXZ_%2Bb@mail.gmail.com> <20101005153926.88b4c1e1.daichi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010111150.00785.jhb>