vfs_fruit: ignore ENAMETOOLONG in fruit_unlink_rsrc_adouble()
authorMikeLiu <mikeliu@qnap.com>
Thu, 26 Oct 2023 08:15:39 +0000 (16:15 +0800)
committerVolker Lendecke <vl@samba.org>
Fri, 17 Nov 2023 11:07:01 +0000 (11:07 +0000)
commit88174f48d2ecb1c9ebb74a0eb45c4fa8e20eb923
tree3beed02686767efbc4f42180e080fb4d9488b9fb
parent82f021d43de1643d06332e152fcaf3e07e51cd1b
vfs_fruit: ignore ENAMETOOLONG in fruit_unlink_rsrc_adouble()

adouble_path() inside fruit_unlink_rsrc_adouble() prepend "._" to a basename,
lenth of apple double filename will exceed NAME_MAX if length of basename
is equal to NAME_MAX (or NAME_MAX-1).

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

Signed-off-by: MikeLiu <mikeliu@qnap.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Nov 17 11:07:01 UTC 2023 on atb-devel-224
source3/modules/vfs_fruit.c