fscrypt: factor out bio specific functions
authorRichard Weinberger <richard@nod.at>
Mon, 19 Dec 2016 11:25:32 +0000 (12:25 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 1 Jan 2017 21:18:49 +0000 (16:18 -0500)
commit58ae74683ae2c07cd717a91799edb50231061938
tree9b50060a37c9908b6c642c7c5aedec5e2282d72b
parentefee590e4a3fa7b66f78aa06eff33f59570ca96d
fscrypt: factor out bio specific functions

That way we can get rid of the direct dependency on CONFIG_BLOCK.

Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Gstir <david@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/Kconfig
fs/crypto/Makefile
fs/crypto/bio.c [new file with mode: 0644]
fs/crypto/crypto.c
fs/crypto/fscrypt_private.h
include/linux/fscrypto.h