s3: VFS: xattr_tdb. Allow unlinkat to cope with dangling symlinks.
authorJeremy Allison <jra@samba.org>
Mon, 25 Oct 2021 19:02:43 +0000 (12:02 -0700)
committerJule Anger <janger@samba.org>
Thu, 2 Dec 2021 10:33:13 +0000 (10:33 +0000)
commit3d4761cf04ddf386e1565131351d28ca315b9626
tree61adcee09301246561d70514daaa6031a1db945c
parent37804062ea7babdd7e304343fbc054d8946170dc
s3: VFS: xattr_tdb. Allow unlinkat to cope with dangling symlinks.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f254be19d6501a4f573843af97963e350a9ee2ed)
(backported from commit 0dba0917fd97e975d1daab5b0828644d026c2bc5)
[pfilipen@redhat.com: code in 4.15 uses different variable name]
source3/modules/vfs_xattr_tdb.c