linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: export emergency_sync
@ 2023-07-18 21:45 Rob Barnes
  2023-07-18 22:13 ` Bill O'Donnell
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Barnes @ 2023-07-18 21:45 UTC (permalink / raw)
  To: bleung, linux-fsdevel
  Cc: Rob Barnes, Alexander Viro, Christian Brauner, linux-kernel

emergency_sync forces a filesystem sync in emergency situations.
Export this function so it can be used by modules.

Signed-off-by: Rob Barnes <robbarnes@google.com>
---

 fs/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/sync.c b/fs/sync.c
index dc725914e1edb..b313db0ebb5ee 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -142,6 +142,7 @@ void emergency_sync(void)
 		schedule_work(work);
 	}
 }
+EXPORT_SYMBOL(emergency_sync);
 
 /*
  * sync a single super
-- 
2.41.0.255.g8b1d071c50-goog


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

end of thread, other threads:[~2023-07-31 19:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-18 21:45 [PATCH] fs: export emergency_sync Rob Barnes
2023-07-18 22:13 ` Bill O'Donnell
2023-07-18 22:18   ` Rob Barnes
2023-07-19  4:08   ` Guenter Roeck
2023-07-19  5:53     ` Christian Brauner
2023-07-19  6:31       ` Christoph Hellwig
2023-07-19 20:51         ` Dmitry Torokhov
2023-07-31  7:23           ` Christoph Hellwig
2023-07-19 13:21       ` Guenter Roeck
2023-07-31 19:18         ` Christian Brauner

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).