linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] fsnotify: export 'fsnotify_recalc_mask' symbol
@ 2023-06-07  2:47 Wu Bo
  2023-06-07  6:21 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Bo @ 2023-06-07  2:47 UTC (permalink / raw)
  To: Jan Kara, Amir Goldstein; +Cc: linux-fsdevel, linux-kernel, wubo.oduw, Wu Bo

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

Signed-off-by: Wu Bo <bo.wu@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] fsnotify: export 'fsnotify_recalc_mask' symbol
  2023-06-07  2:47 [PATCH 1/1] fsnotify: export 'fsnotify_recalc_mask' symbol Wu Bo
@ 2023-06-07  6:21 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2023-06-07  6:21 UTC (permalink / raw)
  To: Wu Bo; +Cc: Jan Kara, Amir Goldstein, linux-fsdevel, linux-kernel, wubo.oduw

On Wed, Jun 07, 2023 at 10:47:00AM +0800, Wu Bo wrote:
> 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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-07  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07  2:47 [PATCH 1/1] fsnotify: export 'fsnotify_recalc_mask' symbol Wu Bo
2023-06-07  6:21 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).