JOURNAL_FLUSH(9) The Linux Journalling API JOURNAL_FLUSH(9)NAMEjournal_flush - Flush journal
SYNOPSIS
int journal_flush(journal_t * journal);
ARGUMENTS
journal
Journal to act on.
DESCRIPTION
Flush all data for a given journal to disk and empty the journal.
Filesystems can use this when remounting readonly to ensure that
recovery does not need to happen on remount.
AUTHORS
Roger Gammans <rgammans@computer-surgery.co.uk>
Author.
Stephen Tweedie <sct@redhat.com>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 JOURNAL_FLUSH(9)