From: Jeremy Allison Date: Thu, 1 Jun 2017 17:51:45 +0000 (-0700) Subject: s3: VFS: Remove old traces of smb_vfs_call_llistxattr(). X-Git-Tag: tevent-0.9.32~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed54ca01d4dc7796edb9ab337b3529416ce1424;p=thirdparty%2Fsamba.git s3: VFS: Remove old traces of smb_vfs_call_llistxattr(). This call doesn't exist anymore. Signed-off-by: Jeremy Allison Reviewed-by: Richard Sharpe --- diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 30002bd9814..f7cfd330319 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -1381,8 +1381,6 @@ ssize_t smb_vfs_call_listxattr(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname, char *list, size_t size); -ssize_t smb_vfs_call_llistxattr(struct vfs_handle_struct *handle, - const char *path, char *list, size_t size); ssize_t smb_vfs_call_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size); diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index 571d144c3be..428aa978e80 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -1270,21 +1270,6 @@ static ssize_t cephwrap_listxattr(struct vfs_handle_struct *handle, } } -#if 0 -static ssize_t cephwrap_llistxattr(struct vfs_handle_struct *handle, const char *path, char *list, size_t size) -{ - int ret; - DBG_DEBUG("[CEPH] llistxattr(%p, %s, %p, %llu)\n", handle, path, list, llu(size)); - ret = ceph_llistxattr(handle->data, path, list, size); - DBG_DEBUG("[CEPH] listxattr(...) = %d\n", ret); - if (ret < 0) { - WRAP_RETURN(ret); - } else { - return (ssize_t)ret; - } -} -#endif - static ssize_t cephwrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size) { int ret;