Re: [PATCH v2] fscrypt: Factor out bio specific functions

From: Richard Weinberger
Date: Wed Jan 04 2017 - 17:52:24 EST


Am 04.01.2017 um 21:10 schrieb Eric Biggers:
> On Tue, Jan 03, 2017 at 09:28:36AM -0500, Theodore Ts'o wrote:
>> On Tue, Jan 03, 2017 at 10:49:26AM +0100, Richard Weinberger wrote:
>>> Ted,
>>>
>>> Am 01.01.2017 um 22:47 schrieb Theodore Ts'o:
>>>> On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote:
>>>>> That way we can get rid of the direct dependency on CONFIG_BLOCK.
>>>>>
>>>>> Reported-by: Arnd Bergmann <arnd@xxxxxxxx>
>>>>> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>>>>> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
>>>>> Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto")
>>>>> Signed-off-by: Richard Weinberger <richard@xxxxxx>
>>>>
>>>> Applied, thanks.
>>>
>>> Just to make sure, this fixes a build error and should
>>> go into Linus' tree ASAP.
>>
>> I didn't consider this a build error since it could be fixed via a
>> config change. And it is a pretty big patch, even if it is mostly
>> moving (not that git recognized it as such)...
>>
>
> I thought you're supposed to be able to build the kernel no matter how it's
> configured. If this patch is really too large for 4.10 then perhaps we should
> make FS_ENCRYPTION select CONFIG_BLOCK instead?

My initial plan was a config fix but hch asked to fix the root cause right now.
https://lkml.org/lkml/2016/12/16/118

Thanks,
//richard