From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91676C352A4 for ; Mon, 10 Feb 2020 23:11:35 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E3BA20733 for ; Mon, 10 Feb 2020 23:11:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.b="i7WyYQzZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="HtiU1iJK"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="VaVWEZiJ"; dkim=neutral (0-bit key) header.d=google.com header.i=@google.com header.b="esB/56n6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E3BA20733 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=lists.sourceforge.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:Message-ID:Date:In-Reply-To:References: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+MVj/cuEe2VzH0J3qwC7/Omf6tS9SjweegTeqxMtEbw=; b=i7WyYQzZf9q64UbdRMKLqf6ebC 4ZftJLFQoKuBorkBBuP+aAwYL2YOhr9WlDIbhf4WqlHXk2mNkrnDagHfoWN/JY2B++3RdGngwoDz7 ywL5pXb1JGnYWbXs7hCvFLvHRVcXxPs9Dv9iAmtmF+RwLvuSYsEIO5eRk3vDvUnjNqTE=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1j1IDG-00059T-GT; Mon, 10 Feb 2020 23:11:34 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1j1IDF-00059F-8J for linux-f2fs-devel@lists.sourceforge.net; Mon, 10 Feb 2020 23:11:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jHnULLRvzcnTmrApgk0J6kXZO0qLfuB4AVQHnM4cmAE=; b=HtiU1iJKb6yVsw+DKtlrSv/lgA 03Hd7bEb11Q8TYJvEEiUZJzHb78ORHp8YxowCRoWVX5tCK34k0Nthm4OoXF4E4Tvt616AI2y3cFao 7omaLWqn4JLEhXuOo2TJjvOAfdm/v1WavWHrsuXgP6zKhhlJE17icyXWQDpcxVD/cB5E=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jHnULLRvzcnTmrApgk0J6kXZO0qLfuB4AVQHnM4cmAE=; b=VaVWEZiJir8jvm1w3npY5ihHtU 414zV6Je6RuKDR6touI1y4f6bhi6uyRSbw9oiKrcq3U+/P7dLcoJNJjr8m8iO2GiNAd7LQl16x1ef irZHS6OkMDUzh/rRtHVe7T5xqAL3c6RCrQMXZfwl3EjNzAOjYx3vN70L1QGeLTZEj8Io=; Received: from mail-lf1-f66.google.com ([209.85.167.66]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1j1IDD-00803L-Pw for linux-f2fs-devel@lists.sourceforge.net; Mon, 10 Feb 2020 23:11:33 +0000 Received: by mail-lf1-f66.google.com with SMTP id r14so5573442lfm.5 for ; Mon, 10 Feb 2020 15:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jHnULLRvzcnTmrApgk0J6kXZO0qLfuB4AVQHnM4cmAE=; b=esB/56n6Q/Msdc20g+jexMovttxt6hCUBxvlvmdqGEumLlcmF5aj3v38oGR21nFNxo cOk4ekYVR6FdU2NjqUfNrI3LKVvMII6sqM7sSRTkqviALl/XYnv7z0n+5b5yYI3Lni/Z pHlhrG3K7Bp+8RWOpjWHLKMsY1f7PTIEy4J/RPb301AvTHMZeUbf9QaVy+/1sChmohPn 5sq+e6/X6b3sYiGh+ziR8racoEm4OmMe/es+FRFQCba4zTFopBh8xK7owBMwffjbGKty kt8xNXlsArGuuruRAvzftXBAFrERmdhUUoEdMwiUrXKqtFq9YOe+1lKW7UiPQs4r9v/n YlSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jHnULLRvzcnTmrApgk0J6kXZO0qLfuB4AVQHnM4cmAE=; b=DhZUabYMtefLmAOh84QHLRWNNY5zfvw53emn3R3BGomRHGx190yp+eVs0RDWZ/NdK5 HZd8r/QvvCQSUEhB70VOt95iYVosDKG4oVn2C4g6HRH4xruA7NVkR5Ue2yPJykSeaPVz q2WtYpyjLAOsu9bkhIY5pQxUJ6yzYXJxe/bjmaed8ESm5vVf73ymrVx2jn4JeWcI8D9p GrkbGNaDQdwqFipDBFbOxzXfcOI8ySjRTabXCTf7Y8zRV3Hyy6xyu3d4ptkHlmZJhjgr /f6XhwVae2uKTUu6HIr2MAHydCAd0nIhZpduNPcfBAd/qr8X6mbuqPQB4S/4cLWCD5Cl t5cg== X-Gm-Message-State: APjAAAUfPIMu5gQBxfI7coacA+ls/xmCq94bKq5TsC/LJNbuZ9NSZMSL 7yOaOT9CNNttfSmFYA8nQpZVXIYiCD5im88c/aL5Ng== X-Google-Smtp-Source: APXvYqxiERXVniVJSVLKbVx/xqUKUzq4lPf5gqhBdctRYV5+IUwsgO7mOTwXnfu4yRdcGlrvRlDwJrZV+Drqhe6D0W8= X-Received: by 2002:a05:6512:2035:: with SMTP id s21mr1781905lfs.99.1581376284825; Mon, 10 Feb 2020 15:11:24 -0800 (PST) MIME-Version: 1.0 References: <20200208013552.241832-1-drosen@google.com> <20200208013552.241832-3-drosen@google.com> <20200208021216.GE23230@ZenIV.linux.org.uk> In-Reply-To: <20200208021216.GE23230@ZenIV.linux.org.uk> Date: Mon, 10 Feb 2020 15:11:13 -0800 Message-ID: To: Al Viro X-Headers-End: 1j1IDD-00803L-Pw Subject: Re: [f2fs-dev] [PATCH v7 2/8] fs: Add standard casefolding support X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Daniel Rosenberg via Linux-f2fs-devel Reply-To: Daniel Rosenberg Cc: kernel-team@android.com, Theodore Ts'o , Jonathan Corbet , Richard Weinberger , Andreas Dilger , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Eric Biggers , linux-fscrypt@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, Gabriel Krisman Bertazi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Fri, Feb 7, 2020 at 6:12 PM Al Viro wrote: > > On Fri, Feb 07, 2020 at 05:35:46PM -0800, Daniel Rosenberg wrote: > > > Again, is that safe in case when the contents of the string str points to > keeps changing under you? I'm not sure what you mean. I thought it was safe to use the str and len passed into d_compare. Even if it gets changed under RCU conditions I thought there was some code to ensure that the name/len pair passed in is consistent, and any other inconsistencies would get caught by d_seq later. Are there unsafe code paths that can follow? _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel