diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-09-09 05:23:50 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-09-30 04:12:58 -0400 |
commit | af2eb5637b88f7b8edf295ad3880706c5c30c324 (patch) | |
tree | a43c5b0104286e36c3958f13bf3deee7fa4cc91a | |
parent | b5e426e9a4a8d4ccc65a6849420d47f87c080d5d (diff) |
UBIFS: correct comment for commit_on_unmount
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-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 | { |