Scroll to navigation

JBD2_JOURNAL_ERRNO(9) The Linux Journalling API JBD2_JOURNAL_ERRNO(9)

NAME

jbd2_journal_errno - returns the journal's error state.

SYNOPSIS

int jbd2_journal_errno(journal_t * journal);

ARGUMENTS

journal_t * journal

journal to examine.

DESCRIPTION

This is the errno number set with jbd2_journal_abort, the last time the journal was mounted - if the journal was stopped without calling abort this will be 0.

If the journal has been aborted on this mount time -EROFS will be returned.

AUTHORS

Roger Gammans <rgammans@computer-surgery.co.uk>

Author.

Stephen Tweedie <sct@redhat.com>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11