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 06:49:31 +0000 (06:49 +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 38bfa5e2b6bd0d7cbd65d5312fa9d18a02a6f35d..e79b548a5111e1bf97ffa7e6c93ac48c6b300c8b 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;