vfs_crossrename not working in samba-4.15.*
Pavel Filipenský
pfilipensky at samba.org
Fri Oct 7 14:35:51 UTC 2022
On 10/7/22 16:33, Ralph Boehme wrote:
> On 10/7/22 16:25, Pavel Filipenský wrote:
>> I believe that the bug was introduced in
>>
>> 5c18f07 2021-06-16 21:01 -0700 Jeremy Allison o s3: VFS:
>> crossrename. Use real dirfsp for SMB_VFS_RENAMEAT()
>>
>>
>> which removes
>>
>> - if (unlink (dest) && errno != ENOENT) {
>>
>> and adss
>>
>>
>> + ret = SMB_VFS_NEXT_UNLINKAT(handle,..
>> + if (ret == -1) {
>>
>> =====
>>
>> I am trying to fix it in master via reintroducing 'errno != ENOENT'
>> but the fix panics in _share_mode_entry_prepare_lock()
>>
>> ...
>
> I guess this is complicated in master due a possible
> problem/interaction with metze's new locking code that was merged a
> few days ago.
exactly. So I guess I should start fixing 4.15, and keep master for metze
>
> -slow
>
More information about the samba-technical
mailing list