Commit af2eb563 authored by Artem Bityutskiy's avatar Artem Bityutskiy

UBIFS: correct comment for commit_on_unmount

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent b5e426e9
...@@ -1465,12 +1465,9 @@ static int ubifs_remount_rw(struct ubifs_info *c) ...@@ -1465,12 +1465,9 @@ static int ubifs_remount_rw(struct ubifs_info *c)
* commit_on_unmount - commit the journal when un-mounting. * commit_on_unmount - commit the journal when un-mounting.
* @c: UBIFS file-system description object * @c: UBIFS file-system description object
* *
* This function is called during un-mounting and it commits the journal unless * This function is called during un-mounting and re-mounting, and it commits
* the "fast unmount" mode is enabled. It also avoids committing the journal if * the journal unless the "fast unmount" mode is enabled. It also avoids
* it contains too few data. * committing the journal if it contains too few data.
*
* Sometimes recovery requires the journal to be committed at least once, and
* this function takes care about this.
*/ */
static void commit_on_unmount(struct ubifs_info *c) static void commit_on_unmount(struct ubifs_info *c)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment