Re: [PATCH 05/14] fscrypt: move fscrypt_set_bio_crypt_ctx_bh to buffer.c

Eric Biggers <[email protected]>
Newsgroups org.kernel.vger.linux-fscrypt,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel
Message-ID <20260227215450.GA5357@quark>
On Thu, Feb 26, 2026 at 06:49:25AM -0800, Christoph Hellwig wrote:
> Note that this does not add ifdefs for fscrypt as the compiler will
> optimize away the dead code if it is not built in.

The call to folio_mapping() isn't optimized out, so it might still be
worth adding an IS_ENABLED(CONFIG_FS_ENCRYPTION).

- Eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.