From c5b17c555576a2b8e24e0df613dde922fe60520d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 Apr 2012 08:26:22 +1000 Subject: s3-vfs: Remove unused llistxattr 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/VFS') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 924947afff..50a8e2908c 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -680,12 +680,6 @@ static ssize_t skel_listxattr(vfs_handle_struct *handle, const char *path, char return -1; } -static ssize_t skel_llistxattr(vfs_handle_struct *handle, const char *path, char *list, size_t size) -{ - errno = ENOSYS; - return -1; -} - static ssize_t skel_flistxattr(vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size) { errno = ENOSYS; @@ -908,7 +902,6 @@ struct vfs_fn_pointers skel_opaque_fns = { .getxattr_fn = skel_getxattr, .fgetxattr_fn = skel_fgetxattr, .listxattr_fn = skel_listxattr, - .llistxattr_fn = skel_llistxattr, .flistxattr_fn = skel_flistxattr, .removexattr_fn = skel_removexattr, .lremovexattr_fn = skel_lremovexattr, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 29923d8083..932888e2de 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -656,11 +656,6 @@ static ssize_t skel_listxattr(vfs_handle_struct *handle, const char *path, char return SMB_VFS_NEXT_LISTXATTR(handle, path, list, size); } -static ssize_t skel_llistxattr(vfs_handle_struct *handle, const char *path, char *list, size_t size) -{ - return SMB_VFS_NEXT_LLISTXATTR(handle, path, list, size); -} - static ssize_t skel_flistxattr(vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size) { return SMB_VFS_NEXT_FLISTXATTR(handle, fsp, list, size); @@ -865,7 +860,6 @@ struct vfs_fn_pointers skel_transparent_fns = { .getxattr_fn = skel_getxattr, .fgetxattr_fn = skel_fgetxattr, .listxattr_fn = skel_listxattr, - .llistxattr_fn = skel_llistxattr, .flistxattr_fn = skel_flistxattr, .removexattr_fn = skel_removexattr, .lremovexattr_fn = skel_lremovexattr, -- cgit