diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-04 08:26:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 13:39:00 +1000 |
commit | c5b17c555576a2b8e24e0df613dde922fe60520d (patch) | |
tree | c42c1041476e44c65f0304cc515c0d8212bf3fd1 /source3/modules/vfs_cap.c | |
parent | b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3 (diff) | |
download | samba-c5b17c555576a2b8e24e0df613dde922fe60520d.tar.gz samba-c5b17c555576a2b8e24e0df613dde922fe60520d.tar.xz samba-c5b17c555576a2b8e24e0df613dde922fe60520d.zip |
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
Diffstat (limited to 'source3/modules/vfs_cap.c')
-rw-r--r-- | source3/modules/vfs_cap.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c index 716e5dce80..125b5f43da 100644 --- a/source3/modules/vfs_cap.c +++ b/source3/modules/vfs_cap.c @@ -476,17 +476,6 @@ static ssize_t cap_listxattr(vfs_handle_struct *handle, const char *path, char * return SMB_VFS_NEXT_LISTXATTR(handle, cappath, list, size); } -static ssize_t cap_llistxattr(vfs_handle_struct *handle, const char *path, char *list, size_t size) -{ - char *cappath = capencode(talloc_tos(), path); - - if (!cappath) { - errno = ENOMEM; - return -1; - } - return SMB_VFS_NEXT_LLISTXATTR(handle, cappath, list, size); -} - static int cap_removexattr(vfs_handle_struct *handle, const char *path, const char *name) { char *cappath = capencode(talloc_tos(), path); @@ -585,7 +574,6 @@ static struct vfs_fn_pointers vfs_cap_fns = { .getxattr_fn = cap_getxattr, .fgetxattr_fn = cap_fgetxattr, .listxattr_fn = cap_listxattr, - .llistxattr_fn = cap_llistxattr, .removexattr_fn = cap_removexattr, .lremovexattr_fn = cap_lremovexattr, .fremovexattr_fn = cap_fremovexattr, |