Steve French | 3 Mar 2009 21:30
Picon
Gravatar

Re: [PATCH] cifs: set SYNCHRONIZE bit when opening for cifs_rename_pending_delete

On Tue, Mar 3, 2009 at 1:37 PM, Jeff Layton <jlayton <at> redhat.com> wrote:
> On Sat, 28 Feb 2009 12:59:02 -0500
> Jeff Layton <jlayton <at> redhat.com> wrote:
>
>> From: Jeff Layton <jlayton <at> tupile.poochiereds.net>
>>
>> Discovered at Connectathon 2009...
>>
>> Some servers apparently require that the filehandle passed to a trans2
>> rename be opened with the SYNCHRONIZE bit set. If it isn't then the
>> server may throw back an error.
>>
>> This patch makes the cifs-capable connectathon tests pass when run
>> against BlueArc servers. I've also heard rumors that Win2k requires
>> that the file be opened with this bit set as well, but I haven't
>> confirmed it.

I agree
I have confirmed that there are a couple of cases when Windows clients can
send this bit, but the bit is supposed to be cleared, and none of
those operations
required this bit be set (and in fact their documentation forbids it to be set).

--

-- 
Thanks,

Steve

Gmane