s3:modules: Fix the horrible vfs_crossrename module
authorPavel Filipenský <pfilipen@redhat.com>
Fri, 7 Jan 2022 12:16:26 +0000 (13:16 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 10 Jan 2022 23:31:33 +0000 (23:31 +0000)
commit4d7ed39fd8fa18f90756f215c8b0fc5d293e955e
tree1065fdbb73a3a35bd83ca833c1b97fb8f5d10146
parent41ebb7f68c5b21492f503afc4cb341a97654a43d
s3:modules: Fix the horrible vfs_crossrename module

It really has to be removed! ;-)

Found by covscan. The code always leaves here as the dst variable

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14940

Pair-programmed-with: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_crossrename.c