Re: [PATCH 01/26] fscrypto: Add buffer operations

From: Christoph Hellwig
Date: Fri Oct 21 2016 - 09:06:07 EST


On Fri, Oct 21, 2016 at 02:48:16PM +0200, Richard Weinberger wrote:
> Not all filesystems operate on pages, therefore offer
> operations to en/decrypt buffers.
> Of course these buffers have to be allocated in a way such that
> the kernel crypto framework can work with them.

Which means they need to be backed by the page allocator eventually.
I think we'd better off providing the pages from ubifs from the API
point of view. What are the issues with doing that?