[PATCH 1/6] fsverity: Export fsverity_get_digest

From: Alexander Larsson
Date: Mon Nov 28 2022 - 06:14:52 EST


Composefs needs to call this when built in module form, so
we need to export the symbol. This uses EXPORT_SYMBOL_GPL
like the other fsverity functions do.

Signed-off-by: Alexander Larsson <alexl@xxxxxxxxxx>
---
fs/verity/measure.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/verity/measure.c b/fs/verity/measure.c
index e99c00350c28..2f0f7e369bf2 100644
--- a/fs/verity/measure.c
+++ b/fs/verity/measure.c
@@ -100,3 +100,4 @@ int fsverity_get_digest(struct inode *inode,

return 0;
}
+EXPORT_SYMBOL_GPL(fsverity_get_digest);
--
2.38.1