[PATCH RFC v2 21/28] fsnotify: export fsnotify_recalc_mask()

From: Jeff Layton
Date: Mon Jun 02 2025 - 10:16:03 EST


nfsd needs to call this when new directory delegations are set or unset.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
fs/notify/mark.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index 798340db69d761dd05c1b361c251818dee89b9cf..ff21409c3ca3ad948557225afc586da3728f7cbe 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -308,6 +308,7 @@ void fsnotify_recalc_mask(struct fsnotify_mark_connector *conn)
if (update_children)
fsnotify_conn_set_children_dentry_flags(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.49.0