s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
[metze/samba/wip.git] / source3 / modules / vfs_solarisacl.c
index fbfe664c6ed504f62e789567131beb83ded86aa4..dabb35c0c0f59c1395679767d8ca663809574c6f 100644 (file)
@@ -165,7 +165,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,
         * that has not been specified in "type" from the file first 
         * and concatenate it with the acl provided.
         */
-       if (SMB_VFS_STAT(handle->conn, name, &s) != 0) {
+       if (vfs_stat_smb_fname(handle->conn, name, &s) != 0) {
                DEBUG(10, ("Error in stat call: %s\n", strerror(errno)));
                goto done;
        }