summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-02 12:43:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 13:39:00 +1000
commitb2f7cfa848def91b6ea458e1ad14af8e96ad4ca3 (patch)
treeed0de7fcf8e2b614029ae64ffc5e263ed587a36b /examples
parent52113b3bd25b12c766985be7abd042d984c924e6 (diff)
downloadsamba-b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3.tar.gz
samba-b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3.tar.bz2
samba-b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3.zip
s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/skel_opaque.c8
-rw-r--r--examples/VFS/skel_transparent.c7
2 files changed, 0 insertions, 15 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 426e7b70e2..924947afff 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -668,13 +668,6 @@ static ssize_t skel_getxattr(vfs_handle_struct *handle, const char *path, const
return -1;
}
-static ssize_t skel_lgetxattr(vfs_handle_struct *handle, const char *path, const char *name, void *value, size_t
-size)
-{
- errno = ENOSYS;
- return -1;
-}
-
static ssize_t skel_fgetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, void *value, size_t size)
{
errno = ENOSYS;
@@ -913,7 +906,6 @@ struct vfs_fn_pointers skel_opaque_fns = {
/* EA operations. */
.getxattr_fn = skel_getxattr,
- .lgetxattr_fn = skel_lgetxattr,
.fgetxattr_fn = skel_fgetxattr,
.listxattr_fn = skel_listxattr,
.llistxattr_fn = skel_llistxattr,
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index f94719403d..29923d8083 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -646,12 +646,6 @@ static ssize_t skel_getxattr(vfs_handle_struct *handle, const char *path, const
return SMB_VFS_NEXT_GETXATTR(handle, path, name, value, size);
}
-static ssize_t skel_lgetxattr(vfs_handle_struct *handle, const char *path, const char *name, void *value, size_t
-size)
-{
- return SMB_VFS_NEXT_LGETXATTR(handle, path, name, value, size);
-}
-
static ssize_t skel_fgetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, void *value, size_t size)
{
return SMB_VFS_NEXT_FGETXATTR(handle, fsp, name, value, size);
@@ -869,7 +863,6 @@ struct vfs_fn_pointers skel_transparent_fns = {
/* EA operations. */
.getxattr_fn = skel_getxattr,
- .lgetxattr_fn = skel_lgetxattr,
.fgetxattr_fn = skel_fgetxattr,
.listxattr_fn = skel_listxattr,
.llistxattr_fn = skel_llistxattr,