diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-04 08:46:25 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 13:39:01 +1000 |
commit | 19eee33d82b4c1947b646241b6f22651abbce19d (patch) | |
tree | 7be6faa2f4a5072bffd420af0e8f70fab7113f48 /examples | |
parent | 4af0f5f135211f49f8d6365e1819c11037485170 (diff) | |
download | samba-19eee33d82b4c1947b646241b6f22651abbce19d.tar.gz samba-19eee33d82b4c1947b646241b6f22651abbce19d.tar.bz2 samba-19eee33d82b4c1947b646241b6f22651abbce19d.zip |
s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to removexattr.
Andrew Bartlett
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 7 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index e41895c611..40691ed7f9 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -692,12 +692,6 @@ static int skel_removexattr(vfs_handle_struct *handle, const char *path, const c return -1; } -static int skel_lremovexattr(vfs_handle_struct *handle, const char *path, const char *name) -{ - errno = ENOSYS; - return -1; -} - static int skel_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name) { errno = ENOSYS; @@ -898,7 +892,6 @@ struct vfs_fn_pointers skel_opaque_fns = { .listxattr_fn = skel_listxattr, .flistxattr_fn = skel_flistxattr, .removexattr_fn = skel_removexattr, - .lremovexattr_fn = skel_lremovexattr, .fremovexattr_fn = skel_fremovexattr, .setxattr_fn = skel_setxattr, .fsetxattr_fn = skel_fsetxattr, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 5aa3bbb271..2d5fcdd63b 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -666,11 +666,6 @@ static int skel_removexattr(vfs_handle_struct *handle, const char *path, const c return SMB_VFS_NEXT_REMOVEXATTR(handle, path, name); } -static int skel_lremovexattr(vfs_handle_struct *handle, const char *path, const char *name) -{ - return SMB_VFS_NEXT_LREMOVEXATTR(handle, path, name); -} - static int skel_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name) { return SMB_VFS_NEXT_FREMOVEXATTR(handle, fsp, name); @@ -857,7 +852,6 @@ struct vfs_fn_pointers skel_transparent_fns = { .listxattr_fn = skel_listxattr, .flistxattr_fn = skel_flistxattr, .removexattr_fn = skel_removexattr, - .lremovexattr_fn = skel_lremovexattr, .fremovexattr_fn = skel_fremovexattr, .setxattr_fn = skel_setxattr, .fsetxattr_fn = skel_fsetxattr, |