From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: [PATCH] UBIFS: correct comment for commit_on_unmount Date: Tue, 30 Sep 2008 12:19:11 +0300 Message-ID: <1222766358-21886-16-git-send-email-dedekind@infradead.org> References: <1222766358-21886-1-git-send-email-dedekind@infradead.org> Cc: Adrian Hunter , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org To: linux-fsdevel@vger.kernel.org Return-path: Received: from smtp.nokia.com ([192.100.122.230]:59011 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752559AbYI3HmK (ORCPT ); Tue, 30 Sep 2008 03:42:10 -0400 In-Reply-To: <1222766358-21886-1-git-send-email-dedekind@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Artem Bityutskiy Signed-off-by: Artem Bityutskiy --- 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 cf078b5..dae1c62 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) { -- 1.5.4.1