Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2352894yba; Mon, 6 May 2019 04:44:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM2bDY8FIxYj5AlmVjKBH0Hny+HaAS5NM3NndnZ7bn7jdcGGfPy414GnLII4AonqlD1MUQ X-Received: by 2002:aa7:92d5:: with SMTP id k21mr32564037pfa.223.1557143048510; Mon, 06 May 2019 04:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557143048; cv=none; d=google.com; s=arc-20160816; b=yZkgxfm+OV9NXKossrqx7DceGUC56PKHmqkzQAZW5w7MRNecwC3+l4ofmi2yJS3C3D L51QwNZTzpJx3AzhGyCvRppgxbFM4uF8mYb4cvjnanO0ObCvIiq7MxuTJT+ucTTdTugL s9u2nQt7AaS0L/YDGwJr2y/I5y6KYqsqODWtILpxngawL85/1c+ZSLQvK09fFbEdMGKD V2ZYSbFcNlBNTlpk3T2sTqmeQ0Z6caFmqgyG+e9tdxt0MncOLtGABYdXZgC+O4FOTn4o MX+DOGzZXKUJ9wfwbJrVikmu63gzx8c1QKq+/fYvmF8YrYWF6PSJ8wu072D5XnmacdiR 78Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=GnCjhx630Rv39KfTF0Y/cgXKJyZUz6GILTKEfuqhsTM=; b=kn4pqapa8XIQDYZHBvUhvciSKQW/NS5Dqe7kviRwaZtXtmgqQwz5Z7/y8LArtthrCj DngFrtKdmZO/VQ0M/SZ3F2QfWExJWJDss0I9dSb9EJpXX2uVw0nKRPWy76DR1+mJU8OB Ll8dPIqSnUgERVHLbGrE7zE1QAUeoWgOVBAM2pnfqmjdWq0N42vkhMV82fd7ZiHgt7Mp 1Jywf8mpVtnSQ3usPa3ztcdtZXO+4ByLlcg4rlCE/61A9hY/ZXCep8s4/24m7hdsPkq+ ISRQr+ISv2Mmv7vTu7hlEo+X3uFRh0mdj8jiaFhnG2eey5czdmpqIVWH1lmWeUmQP2d5 RyWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=APNOegRr; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf12si2734210plb.352.2019.05.06.04.43.39; Mon, 06 May 2019 04:44:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=APNOegRr; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725856AbfEFLni (ORCPT + 99 others); Mon, 6 May 2019 07:43:38 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:44005 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbfEFLni (ORCPT ); Mon, 6 May 2019 07:43:38 -0400 Received: by mail-lf1-f67.google.com with SMTP id u27so8622624lfg.10 for ; Mon, 06 May 2019 04:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=GnCjhx630Rv39KfTF0Y/cgXKJyZUz6GILTKEfuqhsTM=; b=APNOegRrb9S7R0GEvMx2oLnSC5KiXLu8MBnex3WA4RW1XUk2aZq+ZmSUNzTzgOsuz5 ujeE3DKx/kt4Kp2VOgSfjzOyyyDfJPhLLYVGKumoKjA3mAjEapPVlCaYerhg8mETktZH 68CJxjYpFDOCcYDT6+YwTofH6hEgQX1YSBnm0cGgUy6UM1pwzJoEPUr90nJxGCOgazX7 7lexPuRqE/Ir9LTOzDeX6nyzbsmyEVtFzKFGBjnquP7rW5pZC3DMVUoNmsJO7/csIcJh VcRj6jJE1r72BOOoqIDfpxa35GTi+z5Nc3+6xhUletA86dzr1JhM7lTKqf23hMKwKPlS 3qXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=GnCjhx630Rv39KfTF0Y/cgXKJyZUz6GILTKEfuqhsTM=; b=LQ/19AudYhruYViXYIj+70Z9j6SvSMQbNXeX0NoCJz7OVNx4MXtu0zSbBpn6ajlvnw 3Kl8BAlyiWYi1fvVM2jQFoao2G6TnTUf5j564SGFbTj5ghuEFj81j8Okc8CeTtOyuHPC 7Pwy6eJDK4jKBvheNitWfuiiHRDgPNSmH7msY3zhMwLoMZbKmwh4N3Zu1SPLnGKuxgq+ zFiJlIcgQi38KHDlMVjEMV2JclCRSlxek6Ivoez4uDLdkw2FE2JG4KaYXH37YM3PaLwA FDxBUgJ1WSrUbC6y7PgEMrq1Yc+dDTfrL2QbKICkHwi2DoZh8SIWBbv70OSfJ8VxYzmR gCBg== X-Gm-Message-State: APjAAAUoZtPxPuFCFQwoBoih49l24IX5UzTyjDqhwJHhHrj4tLdCgxjC jOtgcedkBrmzwZ72yExZs61WIQ== X-Received: by 2002:ac2:4571:: with SMTP id k17mr3589399lfm.133.1557143016615; Mon, 06 May 2019 04:43:36 -0700 (PDT) Received: from scytale ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id t8sm2236761ljc.25.2019.05.06.04.43.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 04:43:35 -0700 (PDT) Date: Mon, 6 May 2019 13:43:33 +0200 From: "michal.lowas-rzechonek@silvair.com" To: "Stotland, Inga" Cc: "linux-bluetooth@vger.kernel.org" , "Gix, Brian" Subject: Re: [PATCH] mesh: Use node uuids as storage directory names Message-ID: <20190506114333.opaumtub4vgzdycw@scytale> Mail-Followup-To: "Stotland, Inga" , "linux-bluetooth@vger.kernel.org" , "Gix, Brian" References: <20190502130630.13890-1-michal.lowas-rzechonek@silvair.com> <20190502203526.mfglyyzsoudp6mtw@kynes> <89be788e4efdd963e39370b0311d8f2a53c2e13c.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <89be788e4efdd963e39370b0311d8f2a53c2e13c.camel@intel.com> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Inga, On 05/02, Stotland, Inga wrote: > So, Join() method will have to check if a directory name with the > supplied UUID value already exists and, if so, fail with > "AlreadyExists" error. The mesh-api.txt doc should be updated > accordingly. > > Also, if the directory name contains the uuid value, then we probably > don't need the duplicate value in the JSON file since it can be > derived from the directory name. Thanks for the review. I'll send an updated patch shortly. regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND