711 smb_rename has its bitwise ops muddled

Review Request #1119 - Created June 26, 2018 and submitted

Information
Gordon Ross
illumos-gate
711
Reviewers
general

711 smb_rename has its bitwise ops muddled

Some work by Aram that I forgot about.

This isn't actually exposed with Windows clients because those
check for existence of the destination before rename.
Nevertheless, it's a good fix.

Interestingly, both the current code and the fixed code work the same,
thanks to the accident of the flag it tests for being the only one.

smbtorture rename tests
Samba smbclient rename onto existing target.

Yuri Pankov
Gordon Ross
Ken Mays
Gergő Mihály Doma
Gordon Ross
Review request changed

Status: Closed (submitted)

Loading...