From: Artem Bityutskiy Date: Tue, 9 Sep 2008 09:23:50 +0000 (+0300) Subject: UBIFS: correct comment for commit_on_unmount X-Git-Tag: firefly_0821_release~17206^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af2eb5637b88f7b8edf295ad3880706c5c30c324;p=firefly-linux-kernel-4.4.55.git UBIFS: correct comment for commit_on_unmount Signed-off-by: Artem Bityutskiy --- 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: * 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) {