summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aixacl2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-22 15:57:41 -0800
committerJeremy Allison <jra@samba.org>2009-01-22 15:57:41 -0800
commit634cc6b64ad7e840a26400b0ee9c075176d2db3a (patch)
tree1c857741da669a7e015133bbb6d22ac0455e55e4 /source3/modules/vfs_aixacl2.c
parent81533e2d39cae11b7ea06f289a7c398ed3c51da9 (diff)
downloadsamba-634cc6b64ad7e840a26400b0ee9c075176d2db3a.tar.gz
samba-634cc6b64ad7e840a26400b0ee9c075176d2db3a.tar.bz2
samba-634cc6b64ad7e840a26400b0ee9c075176d2db3a.zip
Fix logic error in try_chown - we shouldn't arbitrarily chown
to ourselves unless that was passed in. Jeremy.
Diffstat (limited to 'source3/modules/vfs_aixacl2.c')
-rw-r--r--source3/modules/vfs_aixacl2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/modules/vfs_aixacl2.c b/source3/modules/vfs_aixacl2.c
index a078b9f9f6..5ebc3a12f8 100644
--- a/source3/modules/vfs_aixacl2.c
+++ b/source3/modules/vfs_aixacl2.c
@@ -25,8 +25,6 @@
#define AIXACL2_MODULE_NAME "aixacl2"
-extern int try_chown(connection_struct *conn, const char *fname, uid_t uid, gid_t gid);
-
extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);