diff options
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/super.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index cf078b5cc88c..dae1c62156c6 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -1465,12 +1465,9 @@ out: | |||
1465 | * commit_on_unmount - commit the journal when un-mounting. | 1465 | * commit_on_unmount - commit the journal when un-mounting. |
1466 | * @c: UBIFS file-system description object | 1466 | * @c: UBIFS file-system description object |
1467 | * | 1467 | * |
1468 | * This function is called during un-mounting and it commits the journal unless | 1468 | * This function is called during un-mounting and re-mounting, and it commits |
1469 | * the "fast unmount" mode is enabled. It also avoids committing the journal if | 1469 | * the journal unless the "fast unmount" mode is enabled. It also avoids |
1470 | * it contains too few data. | 1470 | * committing the journal if it contains too few data. |
1471 | * | ||
1472 | * Sometimes recovery requires the journal to be committed at least once, and | ||
1473 | * this function takes care about this. | ||
1474 | */ | 1471 | */ |
1475 | static void commit_on_unmount(struct ubifs_info *c) | 1472 | static void commit_on_unmount(struct ubifs_info *c) |
1476 | { | 1473 | { |