From 1157db293f5db7909f84f021581ddb916cfd8c7e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 16 Aug 2012 13:44:01 +1000 Subject: s3-smbd: Do not check no_acl_syscall_error(errno) after sys_acl_init() This is no longer a VFS call, so will no longer fail in this way. Andrew Bartlett --- source3/smbd/posix_acls.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'source3/smbd/posix_acls.c') diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index c45003defd..7e1bab51ea 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -2844,17 +2844,8 @@ static bool set_canon_ace_list(files_struct *fsp, #endif if (the_acl == NULL) { - - if (!no_acl_syscall_error(errno)) { - /* - * Only print this error message if we have some kind of ACL - * support that's not working. Otherwise we would always get this. - */ - DEBUG(0,("set_canon_ace_list: Unable to init %s ACL. (%s)\n", - default_ace ? "default" : "file", strerror(errno) )); - } - *pacl_set_support = False; - goto fail; + DEBUG(0, ("sys_acl_init failed to allocate an ACL\n")); + return false; } if( DEBUGLVL( 10 )) { -- cgit