Skip to contentSkip to conversation

fsnotify: export 'fsnotify_recalc_mask' symbol

PATCH In review Wu Bo 2 participants 2 messages Jun 7, 2023

Subsystems (2)
lore
Share & tools
lore

Wu Bo

author
#0 lore raw

PATCH 1/1 fsnotify: export 'fsnotify_recalc_mask' symbol

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

---
 fs/notify/mark.c | 1 +
 1 file changed, 1 insertion(+)
fs/notify/mark.c +1 -0
index c74ef947447d..bc8f38c98bfa 100644
@@ -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)
Signature · 1 line
2.35.3
#1 lore raw
Quoted 2 lines · Wu Bo

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

Why, and which module? And why isn't the code to use it included?