From: Jeremy Allison Date: Mon, 22 Mar 2021 19:02:08 +0000 (-0700) Subject: s3: VFS: posix_eadb: Remove posix_eadb_removexattr(). No longer called. X-Git-Tag: tevent-0.11.0~1268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9a5cd874d46ddfd3e486124cea4428b66e52f45;p=thirdparty%2Fsamba.git s3: VFS: posix_eadb: Remove posix_eadb_removexattr(). No longer called. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- 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,