]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: unityed_media: Remove um_removexattr(). No longer called.
authorJeremy Allison <jra@samba.org>
Mon, 22 Mar 2021 19:21:00 +0000 (12:21 -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_unityed_media.c

index e2d445ca9d723a4e4abe594f83f4b3ad7a8b6b1c..332d79800d82260f36dd7c840c798ac67c648b19 100644 (file)
@@ -1731,34 +1731,6 @@ err:
        return ret;
 }
 
-static int um_removexattr(struct vfs_handle_struct *handle,
-                         const struct smb_filename *smb_fname,
-                         const char *name)
-{
-       int status;
-       struct smb_filename *client_fname = NULL;
-
-       DEBUG(10, ("Entering um_removexattr\n"));
-
-       if (!is_in_media_files(smb_fname->base_name)) {
-               return SMB_VFS_NEXT_REMOVEXATTR(handle, smb_fname, name);
-       }
-
-       status = alloc_get_client_smb_fname(handle,
-                               talloc_tos(),
-                               smb_fname,
-                               &client_fname);
-       if (status != 0) {
-               goto err;
-       }
-
-       status = SMB_VFS_NEXT_REMOVEXATTR(handle, client_fname, name);
-
-err:
-       TALLOC_FREE(client_fname);
-       return status;
-}
-
 static int um_connect(vfs_handle_struct *handle,
                         const char *service,
                         const char *user)
@@ -1848,7 +1820,6 @@ static struct vfs_fn_pointers vfs_um_fns = {
        .getxattr_fn = um_getxattr,
        .getxattrat_send_fn = vfs_not_implemented_getxattrat_send,
        .getxattrat_recv_fn = vfs_not_implemented_getxattrat_recv,
-       .removexattr_fn = um_removexattr,
 };
 
 static_decl_vfs;