From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40167C433EF for ; Thu, 19 May 2022 23:46:25 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nrpqY-0001Fh-HD; Thu, 19 May 2022 23:46:22 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nrpqW-0001Fa-Sl for linux-f2fs-devel@lists.sourceforge.net; Thu, 19 May 2022 23:46:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZJMQnoOmFIPyoKgfQ90zpO3P6zEWDHJyIq3zp/melMw=; b=AuRQg/FAny9EE7YO0SLdRbbElQ yM0/mCVPHR4hTSRvgeqI/nXtsoiRJrZWP6KYRjCjE9SLqYBINi8Z5gWrw+gfBB+/gbxhdoubiR52+ qVmmg19k3MQ8qMjeXDeDG8ITsb+qFHk0YE8Qq9rYwGhTrNWVLC32dnUCJUYa8m7e93R8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=ZJMQnoOmFIPyoKgfQ90zpO3P6zEWDHJyIq3zp/melMw=; b=X gHpZgw08OqFWe36zLwZ1s2JWvmhVTxkziS+4LPqWlBRIqH0l/N1sw6hXq83RSOHNhOMGnGSP/EKzO Q8ReJmJugIVvAkMdBJTeGQVA5XkTkNGLoSspnQdPRkXhnzUtA6/Ug3rhuklT3U8hJchYoZ6X7VvvQ XvarzUDQo5jyFBRs=; Received: from dfw.source.kernel.org ([139.178.84.217]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94.2) id 1nrpqT-0005mT-8E for linux-f2fs-devel@lists.sourceforge.net; Thu, 19 May 2022 23:46:20 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9F98861943 for ; Thu, 19 May 2022 23:46:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A79CC34114; Thu, 19 May 2022 23:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653003970; bh=Avz3NS341GIKNvrbHCsb0QR52KTGHnXO1tC+K2bl/Ms=; h=From:To:Cc:Subject:Date:From; b=GWhJca0jI2QEy51EkeEIu9d+08m2pYmwLEGcWFQ9E0MbGsqxVRa30NfsPykyPQorb te/3mXZHumKZn0/tpabyVBDW5Z6ihBgfrfKe6NJ9x4bJcGkceFavXR4NEsr4cDsgCv TYPhRxpXjzIWSeHCmeb7/IK8lgMGOUkT/8NrRFm905jdsO3KPr4ZcE9XsFVbrQJ9bR afpn6Lc6PzmXRJuuGxufZsFp+Roc07D8L7IZ3vbQ1qbwsBe/KQP8MRSNO1ejYRbY3M HhgN2ulZclGTIpyeFUTkNYJxy8eYtjK7d+4lduUmrWYkFunG8oCM44ZNseTCxJDODo d4t2A15YzTdqA== From: Jaegeuk Kim To: linux-f2fs-devel@lists.sourceforge.net Date: Thu, 19 May 2022 16:46:04 -0700 Message-Id: <20220519234605.633645-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog MIME-Version: 1.0 X-Headers-End: 1nrpqT-0005mT-8E Subject: [f2fs-dev] [PATCH 1/2] f2fs-tools: adjust config file first X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jaegeuk Kim Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net We need to get the definitions first. Signed-off-by: Jaegeuk Kim --- fsck/f2fs.h | 5 +++-- mkfs/f2fs_format.c | 5 +++-- tools/f2fscrypt.c | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/fsck/f2fs.h b/fsck/f2fs.h index 875f953fb6cc..f1f867339abd 100644 --- a/fsck/f2fs.h +++ b/fsck/f2fs.h @@ -11,6 +11,9 @@ #ifndef _F2FS_H_ #define _F2FS_H_ +#include "config.h" +#include + #include #include #include @@ -35,8 +38,6 @@ #endif #include -#include "f2fs_fs.h" - #define EXIT_ERR_CODE (-1) #define ver_after(a, b) (typecheck(unsigned long long, a) && \ typecheck(unsigned long long, b) && \ diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index 2759b5a03bc4..df6fa8a9381b 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -8,6 +8,9 @@ */ #define _LARGEFILE64_SOURCE +#include "config.h" +#include + #include #include #include @@ -21,7 +24,6 @@ #endif #include -#include "config.h" #ifdef HAVE_UUID_UUID_H #include #endif @@ -30,7 +32,6 @@ #define uuid_generate(a) #endif -#include "f2fs_fs.h" #include "quota.h" #include "f2fs_format_utils.h" diff --git a/tools/f2fscrypt.c b/tools/f2fscrypt.c index 4c5d87036225..0d916c1b1f25 100644 --- a/tools/f2fscrypt.c +++ b/tools/f2fscrypt.c @@ -21,6 +21,8 @@ #endif #include "config.h" +#include + #include #include #include @@ -55,7 +57,6 @@ typedef unsigned char uuid_t[16]; #ifdef HAVE_SYS_KEY_H #include #endif -#include #define F2FS_MAX_KEY_SIZE 64 #define F2FS_MAX_PASSPHRASE_SIZE 1024 -- 2.36.1.124.g0e6072fb45-goog _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel