From db5d3465ab8c7410e2b4ff7bbdbd108cea302c83 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Jul 2009 13:10:55 -0400 Subject: [PATCH] Cleanup patch after "struct stat_ex" --- source3/modules/vfs_solarisacl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c index 6a174807b69..397a6749676 100644 --- a/source3/modules/vfs_solarisacl.c +++ b/source3/modules/vfs_solarisacl.c @@ -137,7 +137,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle, SMB_ACL_T theacl) { int ret = -1; - struct stat s; + struct stat_ex s; SOLARIS_ACL_T solaris_acl = NULL; int count; @@ -169,7 +169,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle, DEBUG(10, ("Error in stat call: %s\n", strerror(errno))); goto done; } - if (S_ISDIR(s.st_mode)) { + if (S_ISDIR(s.st_ex_mode)) { SOLARIS_ACL_T other_acl; int other_count; SMB_ACL_TYPE_T other_type; -- 2.11.4.GIT