mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
UBIFS: correct comment for commit_on_unmount
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
b5e426e9a4
commit
af2eb5637b
@ -1465,12 +1465,9 @@ out:
|
||||
* commit_on_unmount - commit the journal when un-mounting.
|
||||
* @c: UBIFS file-system description object
|
||||
*
|
||||
* This function is called during un-mounting and it commits the journal unless
|
||||
* the "fast unmount" mode is enabled. It also avoids 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.
|
||||
* This function is called during un-mounting and re-mounting, and it commits
|
||||
* the journal unless the "fast unmount" mode is enabled. It also avoids
|
||||
* committing the journal if it contains too few data.
|
||||
*/
|
||||
static void commit_on_unmount(struct ubifs_info *c)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user