Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp414812pxu; Thu, 26 Nov 2020 01:48:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3tb6jdJfadelMejuvzD2IMF6kitpFZNHZXxsnL3O3ZdPvhsEJKXJh5ujVym+3W/UyOUSa X-Received: by 2002:a05:6402:370:: with SMTP id s16mr1709901edw.50.1606384131434; Thu, 26 Nov 2020 01:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606384131; cv=none; d=google.com; s=arc-20160816; b=gMvcVEDoe35JgG0QlX5pby9gJO12E7JdIdIg3jnq1sKcJ0iP02FuoXzDIvZjpvfBrL QWXpAvtcAgofm7uSovziQ5+9Arip6Kufyj2b783yXBPAfRTKz6LptWBAmS6Nc6BFUVhL c+lfrIXAIzj833UTaF/RCWDXT6CKJVnLfCUrf7Xjy1CiAvZ8dftfBAIxgmy3XCQygDa6 taIcVFKlZzHFALkXBFWVAvO37pW97BGJ6awwPX3Clkwt7fug3vmyhywcvUjVnqtLfsiK EHJWRahj8zdlVQ93xtn+ujNpJV2DpoaEh7KGfcS+5UJ1PlfgRkIyTisWkXqo/MBxMqC+ 232g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Q2R4BbQCpkO9YBouwmBRKUyTxHnROMBCPNNTzvr+bTs=; b=oFyNErW4TWAykLLN+YP8OFp9ZHoA04GP41XXHxL3VT9V8/8lrAofM1FsGJOCgMbRP4 s0WpxYZwKXjGXqL9zwW9q2inXioiEOm8OL03uao3vy8Zrlu3kJEweu5FGlMwT6q4kLGz 8L2MfCgyFuwdUsKkhehLdNQZxAIGPJbxjgAh3zrrlRvgtkm3YTD/Kwa5G0pUga9OjZpv FeE/Z+wkkJ22MP53N+Ei6YP6grY45ZoWzgSd3kw4ITSl7eqqSZOxfOsWhbkKf12Pjcrh xUvRsfrCAyR2FDM7lr1anBCyK5rYv/mUqUhFUVdL2JL+Qyx8pP7vjXphmCXvGTRFRjo5 h6iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ezaCvQHN; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pj26si2356157ejb.691.2020.11.26.01.48.26; Thu, 26 Nov 2020 01:48:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ezaCvQHN; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732410AbgKZGUt (ORCPT + 99 others); Thu, 26 Nov 2020 01:20:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732141AbgKZGUt (ORCPT ); Thu, 26 Nov 2020 01:20:49 -0500 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09730C0613D4 for ; Wed, 25 Nov 2020 22:20:49 -0800 (PST) Received: by mail-oi1-x243.google.com with SMTP id a130so1143319oif.7 for ; Wed, 25 Nov 2020 22:20:49 -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=Q2R4BbQCpkO9YBouwmBRKUyTxHnROMBCPNNTzvr+bTs=; b=ezaCvQHNP4rXVlX6xgXScBgYsPbPPYeNewlmWmduFOZEwCAQiePxmYmVXxRNWIAKBj npE5+8DtXXxl5lIDZZS0EJDFMin+cuNhqnF9GVWXdwt95ToczUH17XgI/N/f5RDdgVTk K20LAvN4Q8KwIAWKWxz7lhuudgoUDjDQNgOQ9wCJS5pv4UlJ8k6N+hip7il4Tw3qlp8b FAv350pYhHk1L7GaNKcFbR2Ti54nHn0eqb/zzb9ABRY2bdSGl5MHh8QN5HMKW/YmAQsN F/W7hV8uygULP8RYNfy2hBUXjRLteBmuEIR1j5uixtkiJBAM3lzJbujbvujPp0OydxG5 21dQ== 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=Q2R4BbQCpkO9YBouwmBRKUyTxHnROMBCPNNTzvr+bTs=; b=O4qRZNcPOiSIw2Iq1IBrg8bjo5Zm1WFXJKsvKYC2q2IuMhLNDyScNLqcZQ/lM+RJNr 1NZSARbfgZGlsLZ6WYCkkf0ltuEwrMeLRlFRCb35Buolyqq9l0nHNKUEqIGOkILVneXZ PY9Du0OSc2K6a+cn4ANy1K9FlX2wsM/o7LRvSstV91Z4AsDc1aa5cCekhQddTXJlQjxf Wn/l9yIzRXbrjMi9CYvpMcQeglW0MXoSevzeHe/P51HgECAYpIW528fHlv9YTUxG3BRd eZeQTaoO4bfkjE04UlYbZFDbBZLXafK6nUXjh2qDK3px+M6Z1uy2MhDoz+HGY7+Bp7BO LD/A== X-Gm-Message-State: AOAM530TN7yqUzyNDigFB8h/ujsXqIZJDE+q5U9/2ev85X9/9l9M/p8G XKJl8ndpQeNmbe6hPHvC/LyYRgDQxYRQnK80Gj5ZZQ== X-Received: by 2002:a05:6808:8c8:: with SMTP id k8mr1163796oij.84.1606371648249; Wed, 25 Nov 2020 22:20:48 -0800 (PST) MIME-Version: 1.0 References: <20201119060904.463807-1-drosen@google.com> <20201119060904.463807-3-drosen@google.com> <20201122051218.GA2717478@xiangao.remote.csb> <877dqbpdye.fsf@collabora.com> In-Reply-To: <877dqbpdye.fsf@collabora.com> From: Daniel Rosenberg Date: Wed, 25 Nov 2020 22:20:37 -0800 Message-ID: Subject: Re: [PATCH v4 2/3] fscrypt: Have filesystems handle their d_ops To: Gabriel Krisman Bertazi Cc: Eric Biggers , Gao Xiang , "Theodore Y . Ts'o" , Jaegeuk Kim , Andreas Dilger , Chao Yu , Alexander Viro , Richard Weinberger , linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org > > This change has the side-effect of removing the capability of the root > directory from being case-insensitive. It is not a backward > incompatible change because there is no way to make the root directory > CI at the moment (it is never empty). But this restriction seems > artificial. Is there a real reason to prevent the root inode from being > case-insensitive? > I don't have a use case where I need a root directory to be CI. In > fact, when I first implemented CI, I did want to block the root directory > from being made CI, just to prevent people from doing "chattr +F /" and > complaining afterwards when /usr/lib breaks. > > My concern with the curent patch was whether this side-effect was > considered, but I'm happy with either semantics. > > -- > Gabriel Krisman Bertazi That's just from the lost+found directory right? If you remove it you can still change it, and then add the lost+found directory back. Isn't that how it works currently? I definitely didn't intend to change any behavior around non-encrypted casefolding there. I should look at what fsck does if you do that and have a LoSt+fOuNd folder... -Daniel Rosenberg