From b9a5cd874d46ddfd3e486124cea4428b66e52f45 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 22 Mar 2021 12:02:08 -0700 Subject: [PATCH] s3: VFS: posix_eadb: Remove posix_eadb_removexattr(). No longer called. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_posix_eadb.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source3/modules/vfs_posix_eadb.c b/source3/modules/vfs_posix_eadb.c index c00fb699daf..37b01d9ca50 100644 --- a/source3/modules/vfs_posix_eadb.c +++ b/source3/modules/vfs_posix_eadb.c @@ -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, -- 2.47.3