From c70ac29c5441073752da7384b7f3bf54c9986aa0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 Apr 2012 08:34:25 +1000 Subject: s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett --- examples/VFS/skel_opaque.c | 7 ------- examples/VFS/skel_transparent.c | 6 ------ 2 files changed, 13 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 50a8e2908c..e41895c611 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -711,12 +711,6 @@ static int skel_setxattr(vfs_handle_struct *handle, const char *path, const char return -1; } -static int skel_lsetxattr(vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags) -{ - errno = ENOSYS; - return -1; -} - static int skel_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, const void *value, size_t size, int flags) { errno = ENOSYS; @@ -907,7 +901,6 @@ struct vfs_fn_pointers skel_opaque_fns = { .lremovexattr_fn = skel_lremovexattr, .fremovexattr_fn = skel_fremovexattr, .setxattr_fn = skel_setxattr, - .lsetxattr_fn = skel_lsetxattr, .fsetxattr_fn = skel_fsetxattr, /* aio operations */ diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 932888e2de..5aa3bbb271 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -681,11 +681,6 @@ static int skel_setxattr(vfs_handle_struct *handle, const char *path, const char return SMB_VFS_NEXT_SETXATTR(handle, path, name, value, size, flags); } -static int skel_lsetxattr(vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags) -{ - return SMB_VFS_NEXT_LSETXATTR(handle, path, name, value, size, flags); -} - static int skel_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, const void *value, size_t size, int flags) { return SMB_VFS_NEXT_FSETXATTR(handle, fsp, name, value, size, flags); @@ -865,7 +860,6 @@ struct vfs_fn_pointers skel_transparent_fns = { .lremovexattr_fn = skel_lremovexattr, .fremovexattr_fn = skel_fremovexattr, .setxattr_fn = skel_setxattr, - .lsetxattr_fn = skel_lsetxattr, .fsetxattr_fn = skel_fsetxattr, /* aio operations */ -- cgit