vfs_fruit: use ADEDOFF_RFORK_DOT_UND offset macro in ad_convert_truncate()
authorRalph Boehme <slow@samba.org>
Fri, 5 Oct 2018 17:15:04 +0000 (19:15 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 10 Oct 2018 20:22:14 +0000 (22:22 +0200)
commitb948681b2bbaba202843858857fb9edbb543bdf2
tree6965eac925d7107171400344efa9aeae0fa287c2
parent98bd7c0a46f72b097011a5c59e899ac4862ff651
vfs_fruit: use ADEDOFF_RFORK_DOT_UND offset macro in ad_convert_truncate()

We really want the fixed size offset here, not a calculated one. Note
that "ad_getentryoff(ad, ADEID_RFORK)" is equal to ADEDOFF_RFORK_DOT_UND
in this case.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13649

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c