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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B908FC4332F for ; Thu, 20 Oct 2022 21:42:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbiJTVmD (ORCPT ); Thu, 20 Oct 2022 17:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbiJTVmC (ORCPT ); Thu, 20 Oct 2022 17:42:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF5FA1EA57C; Thu, 20 Oct 2022 14:42:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C44E61D33; Thu, 20 Oct 2022 21:42:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84BEFC433D6; Thu, 20 Oct 2022 21:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666302120; bh=bXJ5Yqhnz5+l4b0IhPru/FH1tsaWDeiNfU37x/gOMu8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=abHaC9gyt2qt5QFrWe9uz8sfgPgtUmqXzjaT1kvYJHUEHZgzfgqa8D+MEOdQngcD0 2e1J1yuYpY+GjcUzgUUuE8oZdim6gvqOtEDaseUd7LkgOyiWbZ/5xCkqjN+SVKuyPr 0fYAh0+/75ZBp0Cs0DC3dlogzWXyx1k3i3TBhgYaQQcVJGaNhhddOjHDF/jkUqY4Tz Jsrmt4I1tBdrMzaINRql4xLn3rPJN9JwhhEX4/8QcKxMXevM0b29bul3vfN2z0h9Fb wF3iqFPh5l7CNwY5Il7RtTT5aaOlCqn0Jk8K8aGkMQqN/6eNj79pt09bR43lt/No/8 8FTCcWMb4XbCA== Date: Thu, 20 Oct 2022 14:41:58 -0700 From: Eric Biggers To: Sweet Tea Dorminy Cc: "Theodore Y. Ts'o" , Jaegeuk Kim , Chris Mason , Josef Bacik , David Sterba , linux-fscrypt@vger.kernel.org, linux-btrfs@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH v3 05/22] fscrypt: document btrfs' fscrypt quirks. Message-ID: References: <6ffe9471b0caedf1e134d417644d2b3d1a273799.1666281277.git.sweettea-kernel@dorminy.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ffe9471b0caedf1e134d417644d2b3d1a273799.1666281277.git.sweettea-kernel@dorminy.me> Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org On Thu, Oct 20, 2022 at 12:58:24PM -0400, Sweet Tea Dorminy wrote: > +For most filesystems, fscrypt does not support encrypting files > +in-place. Instead, it supports marking an empty directory as encrypted. > +Then, after userspace provides the key, all regular files, directories, > +and symbolic links created in that directory tree are transparently > encrypted. As I mentioned on the previous version, I'd prefer if the support for encrypting nonempty directories was at the end of the patchset. - Eric