From patchwork Thu Jan 22 21:33:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 19902 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id BB23DDDF2A for ; Fri, 23 Jan 2009 08:33:11 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355AbZAVVdK (ORCPT ); Thu, 22 Jan 2009 16:33:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751546AbZAVVdK (ORCPT ); Thu, 22 Jan 2009 16:33:10 -0500 Received: from THUNK.ORG ([69.25.196.29]:44599 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbZAVVdH (ORCPT ); Thu, 22 Jan 2009 16:33:07 -0500 Received: from root (helo=closure.thunk.org) by thunker.thunk.org with local-esmtp (Exim 4.50 #1 (Debian)) id 1LQ7Ag-0003La-LJ; Thu, 22 Jan 2009 16:33:06 -0500 Received: from tytso by closure.thunk.org with local (Exim 4.69) (envelope-from ) id 1LQ7Af-0002es-Eh; Thu, 22 Jan 2009 16:33:05 -0500 From: Theodore Ts'o To: Ext4 Developers List Cc: Eric Sesterhenn , Theodore Ts'o Subject: [PATCH] e2fsck: Change PR_3_CREATE_LPF_ERROR to be a non-fatal problem Date: Thu, 22 Jan 2009 16:33:04 -0500 Message-Id: <1232659984-10183-4-git-send-email-tytso@mit.edu> X-Mailer: git-send-email 1.6.0.4.8.g36f27.dirty In-Reply-To: <1232659984-10183-3-git-send-email-tytso@mit.edu> References: <20090122211224.GJ14966@mit.edu> <1232659984-10183-1-git-send-email-tytso@mit.edu> <1232659984-10183-2-git-send-email-tytso@mit.edu> <1232659984-10183-3-git-send-email-tytso@mit.edu> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The other problem codes associated with failing to create the lost+found directory are non-fatal, and this one should be non-fatal as well. The two places which call e2fsck_get_lost_and_found() already deal with a failure to create the directory, so there's no point making this be a fatal error. Signed-off-by: "Theodore Ts'o" --- e2fsck/problem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/e2fsck/problem.c b/e2fsck/problem.c index 9d193c3..3f53350 100644 --- a/e2fsck/problem.c +++ b/e2fsck/problem.c @@ -1386,7 +1386,7 @@ static struct e2fsck_problem problem_table[] = { /* Error creating lost and found directory */ { PR_3_CREATE_LPF_ERROR, N_("Error creating /@l @d (%s): %m\n"), - PROMPT_NONE, PR_FATAL }, + PROMPT_NONE, 0 }, /* Root inode is not directory; aborting */ { PR_3_ROOT_NOT_DIR_ABORT,