[linux-cifs-client] [PATCH 0/2] posix locks behaviour on Windows server

Pavel Shilovsky piastry at etersoft.ru
Tue Feb 24 15:00:32 GMT 2009


simo wrote:
> On Tue, 2009-02-24 at 17:36 +0300, Pavel Shilovsky wrote:
>  
>> Hello!
>>
>> I had a problem with cifs connected with posix locks behaviour during 
>> closing files when I mounted Windows share. When any descriptor of 
>> file is  being closed, it deletes only locks that connected with it, 
>> but it isn't posix. This patch provide posix locks behaviour on 
>> windows server - deletes all locks that connected with inode.
>>
>> Summary of changes:
>> [1/2] patch adds cifs_lock_storage module
>> [1/2] patch adds use cifs_lock_storage module operations in file.c
>>     
>
> Do we really want to "fix" one of the most horrible and harmful posix
> semantics ? :-)
>   
Yes, it in congruence with posix standard and noncompliance of it can 
break work of some applications.
> Simo.
>
>   

-- 
Best regards,
Pavel Shilovsky.


More information about the linux-cifs-client mailing list