On Fri, Dec 16, 2016 at 10:26:35AM +0100, Richard Weinberger wrote: > > The easiest way out is to limit UBIFS_FS_ENCRYPTION to configurations > > that also enable BLOCK. > > Thanks for the fix! > I'll queue this for -rc2. > > In the long-run I'd like to remove the CONFIG_BLOCK dependency from > fs/crypto/crypto.c > since UBIFS does not use the block related functions at all.
I would much prefer if you did that fixup now. Either by moving all the block code into a new fs/crypto/bio.c or if that's too hard by just sprinkling ifdefs.

