diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-01 13:29:38 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-02 02:13:49 +0200 |
commit | c290cdb9349220ba70b54143e1432da0230e2cee (patch) | |
tree | 4ebf0aa557376557eaec362eaa14f587c53ea1ec /source3/modules | |
parent | 664af060ac9ea83b565fbb817bb63d67d83843ef (diff) | |
download | samba-c290cdb9349220ba70b54143e1432da0230e2cee.tar.gz samba-c290cdb9349220ba70b54143e1432da0230e2cee.tar.bz2 samba-c290cdb9349220ba70b54143e1432da0230e2cee.zip |
lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.c
This also moves all the still-used configure tests etc. The unused OSF API
is also removed at this time.
Andrew Bartlett
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 8908508af4..9745a733be 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -2029,42 +2029,42 @@ static int vfswrap_sys_acl_free_qualifier(vfs_handle_struct *handle, void *qual static ssize_t vfswrap_getxattr(struct vfs_handle_struct *handle,const char *path, const char *name, void *value, size_t size) { - return sys_getxattr(path, name, value, size); + return getxattr(path, name, value, size); } static ssize_t vfswrap_fgetxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name, void *value, size_t size) { - return sys_fgetxattr(fsp->fh->fd, name, value, size); + return fgetxattr(fsp->fh->fd, name, value, size); } static ssize_t vfswrap_listxattr(struct vfs_handle_struct *handle, const char *path, char *list, size_t size) { - return sys_listxattr(path, list, size); + return listxattr(path, list, size); } static ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size) { - return sys_flistxattr(fsp->fh->fd, list, size); + return flistxattr(fsp->fh->fd, list, size); } static int vfswrap_removexattr(struct vfs_handle_struct *handle, const char *path, const char *name) { - return sys_removexattr(path, name); + return removexattr(path, name); } static int vfswrap_fremovexattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name) { - return sys_fremovexattr(fsp->fh->fd, name); + return fremovexattr(fsp->fh->fd, name); } static int vfswrap_setxattr(struct vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags) { - return sys_setxattr(path, name, value, size, flags); + return setxattr(path, name, value, size, flags); } static int vfswrap_fsetxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name, const void *value, size_t size, int flags) { - return sys_fsetxattr(fsp->fh->fd, name, value, size, flags); + return fsetxattr(fsp->fh->fd, name, value, size, flags); } static int vfswrap_aio_read(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) |