]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: finally, remove ad_handle from struct adouble
authorRalph Boehme <slow@samba.org>
Fri, 17 May 2019 10:19:06 +0000 (12:19 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Jun 2019 07:56:19 +0000 (07:56 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e266daaed149561b746dbb8d5e9523862f0057b5)

source3/modules/vfs_fruit.c

index f4504988e37d86901cccdcd38dbfdd7873f7a514..0c32c1e19b31e449b8d18d51d63fc4283432defa 100644 (file)
@@ -411,7 +411,6 @@ struct ad_entry {
 };
 
 struct adouble {
-       vfs_handle_struct        *ad_handle;
        int                       ad_fd;
        bool                      ad_opened;
        adouble_type_t            ad_type;
@@ -1868,7 +1867,6 @@ static struct adouble *ad_alloc(TALLOC_CTX *ctx, vfs_handle_struct *handle,
                }
        }
 
-       ad->ad_handle = handle;
        ad->ad_type = type;
        ad->ad_magic = AD_MAGIC;
        ad->ad_version = AD_VERSION;