[PATCH 1/1] fsnotify: export 'fsnotify_recalc_mask' symbol

From: Wu Bo
Date: Tue Jun 06 2023 - 22:47:24 EST


To enable modules to update existing mark, export 'fsnotify_recalc_mask'
symbol.

Signed-off-by: Wu Bo <bo.wu@xxxxxxxx>
---
fs/notify/mark.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index c74ef947447d..bc8f38c98bfa 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -194,6 +194,7 @@ void fsnotify_recalc_mask(struct fsnotify_mark_connector *conn)
__fsnotify_update_child_dentry_flags(
fsnotify_conn_inode(conn));
}
+EXPORT_SYMBOL_GPL(fsnotify_recalc_mask);

/* Free all connectors queued for freeing once SRCU period ends */
static void fsnotify_connector_destroy_workfn(struct work_struct *work)
--
2.35.3