Re: [RFC PATCH v5 04/19] fscrypt: add fscrypt_context_for_new_inode

Eric Biggers
2021-04-08T01:21:09Z

On Fri, Mar 26, 2021 at 01:32:12PM -0400, Jeff Layton wrote:
> CephFS will need to be able to generate a context for a new "prepared"
> inode. Add a new routine for getting the context out of an in-core
> inode.

It would be helpful to briefly mention why fscrypt_set_context() can't be used
instead (like the other filesystems do).

- Eric