SysTutorials

Linux Manual Pages › Section 9

jbd2_journal_errno(9)

jbd2_journal_errno – returns the journal’s error state.

Synopsis

int jbd2_journal_errno(journal_t *journal);

Arguments

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 [at] computer-surgery.co.uk>

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

Copyright