Hi Daniel and Dave,
On 2019/8/2 19:10, Daniel P. Berrangé wrote:
> On Fri, Aug 02, 2019 at 11:53:52AM +0100, Dr. David Alan Gilbert wrote:
>> * piaojun (piao...@huawei.com) wrote:
>>> Use F_GETLK for fcntl when F_OFD_GETLK not defined, such as kernel 3.10.
>>>
>>> Signed-off-by: Jun Piao
>>
>>
>>
On Fri, Aug 02, 2019 at 11:53:52AM +0100, Dr. David Alan Gilbert wrote:
> * piaojun (piao...@huawei.com) wrote:
> > Use F_GETLK for fcntl when F_OFD_GETLK not defined, such as kernel 3.10.
> >
> > Signed-off-by: Jun Piao
>
>
> > ---
> > v2:
> > - Use F_OFD_SETLK to replace F_OFD_GETLK in #ifdef
* piaojun (piao...@huawei.com) wrote:
> Use F_GETLK for fcntl when F_OFD_GETLK not defined, such as kernel 3.10.
>
> Signed-off-by: Jun Piao
> ---
> v2:
> - Use F_OFD_SETLK to replace F_OFD_GETLK in #ifdef.
>
> ---
> contrib/virtiofsd/passthrough_ll.c | 8
> 1 file changed, 8 inserti
Use F_GETLK for fcntl when F_OFD_GETLK not defined, such as kernel 3.10.
Signed-off-by: Jun Piao
---
v2:
- Use F_OFD_SETLK to replace F_OFD_GETLK in #ifdef.
---
contrib/virtiofsd/passthrough_ll.c | 8
1 file changed, 8 insertions(+)
diff --git a/contrib/virtiofsd/passthrough_ll.c
b/c