]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: posix_eadb: Remove posix_eadb_removexattr(). No longer called.
authorJeremy Allison <jra@samba.org>
Mon, 22 Mar 2021 19:02:08 +0000 (12:02 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 7 Apr 2021 16:26:28 +0000 (16:26 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_posix_eadb.c

index c00fb699dafa1c2c40cc1e0f4ed1cb591e7c1c26..37b01d9ca50105d0d914a7f5bb42d8b41de81981 100644 (file)
@@ -200,17 +200,6 @@ static int posix_eadb_removeattr(struct tdb_wrap *db_ctx,
        return 0;
 }
 
-static int posix_eadb_removexattr(struct vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname,
-                               const char *name)
-{
-       struct tdb_wrap *db;
-
-       SMB_VFS_HANDLE_GET_DATA(handle, db, struct tdb_wrap, return -1);
-
-       return posix_eadb_removeattr(db, smb_fname->base_name, -1, name);
-}
-
 static int posix_eadb_fremovexattr(struct vfs_handle_struct *handle,
                                  struct files_struct *fsp, const char *name)
 {
@@ -463,7 +452,6 @@ static struct vfs_fn_pointers vfs_posix_eadb_fns = {
        .fgetxattr_fn = posix_eadb_fgetxattr,
        .fsetxattr_fn = posix_eadb_fsetxattr,
        .flistxattr_fn = posix_eadb_flistxattr,
-       .removexattr_fn = posix_eadb_removexattr,
        .fremovexattr_fn = posix_eadb_fremovexattr,
        .unlinkat_fn = posix_eadb_unlinkat,
        .connect_fn = posix_eadb_connect,