From bebd6aa08f44d8650d42106c07fc3853194633f0 Mon Sep 17 00:00:00 2001 From: Satya Tangirala Date: Thu, 25 Feb 2021 13:59:12 -0800 Subject: [PATCH] ANDROID: export fscrypt_limit_io_blocks() The upstream version of the direct I/O on encrypted files patch series missed exporting this function, which is needed if ext4 is built as a module. Bug: 162255927 Fixes: 914bc8e7646a ("FROMLIST: fscrypt: Add functions for direct I/O support") Change-Id: Ib827b4743423c7446436a47fcf95b255466288a3 Signed-off-by: Satya Tangirala --- fs/crypto/inline_crypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/crypto/inline_crypt.c b/fs/crypto/inline_crypt.c index 99538bdac699..7df5877fac9a 100644 --- a/fs/crypto/inline_crypt.c +++ b/fs/crypto/inline_crypt.c @@ -473,3 +473,4 @@ u64 fscrypt_limit_io_blocks(const struct inode *inode, u64 lblk, u64 nr_blocks) return min_t(u64, nr_blocks, (u64)U32_MAX + 1 - dun); } +EXPORT_SYMBOL_GPL(fscrypt_limit_io_blocks);