Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp809895lqt; Thu, 6 Jun 2024 21:39:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQY6vhHmF+JS9lNmitcAPNqUVYYp2TSNnNmX2RbC6lsOdIhEZk38bBUlBJ2m+ucN3yIZtSlHHDiRqG8z4Yokq2rl3DBQeS8z3APAV2ZA== X-Google-Smtp-Source: AGHT+IEGrF4VUH3DmD77fdzdsLagX2LlcG397sFHT2UbVAMeDLeHJKbJch1A/mIE3Y4n+869wSxl X-Received: by 2002:a17:90a:e394:b0:2c2:97c2:1424 with SMTP id 98e67ed59e1d1-2c2bcafcde7mr1399037a91.25.1717735190269; Thu, 06 Jun 2024 21:39:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717735190; cv=pass; d=google.com; s=arc-20160816; b=BZ1UV9Q7NSD+jwwTx7xHvGtmexm1p+SAIzFta/YwUqmBWuUsg7SMUMsJgTi6JQHfP2 YSEZUoI4IKS7NZOedbB4zXmDtYYm7cp1AtljIkigYxkFF48+nrpDd6c2kv0g9541SNSS pGJzt+8kpaO7NePTvtkyT1Tk3JyuRCSvnE+W6ocVFio/xj6X3wjBNXwyZk3ORgqQkFAE +6t49fKAozfqHLsVy+BnOD20PJbAsth9pU9VfMEN/4Q9njpIepzHi8f70f2wKVe64NKH tCBb1ZMIMqrAWTg56zIPQb1hPNsCAPPnTgVqK45GvA74MJgDZEP1plbqq5ncD2h7ftdp RU5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=3j94b2DtJ7EyIpOmCC0Xn4vieJGC3WAikLFfGh5r/nI=; fh=yXYChwFvQA/NaaLzCC0IJdkW11OhjXgO4DHXzVmnGFw=; b=nDiG8KzwEZpBSyYsOVnJp1dzcnWtxLlg/Q3firZ+f0ghmwdhD//9pg5BqaZK2LXT8O bDyX+oG1nw9DeleElnsjGGaZH/KgZT6cNiKBOFbLOk5MjV1HSU+OQpHXeDoTC0olBQKq l/1PAcfKqtFYQSIF8DLqE8vGm1Jp8fJPHv858TPgyw/ELpo5c1SPsWF2xwautLffNLme 6i1hvPdeBkIkMVuz1AfcYVvRdg4xMK0GOf/hQ9s+vZS0wYgphapRMeAApAAc3WY9mQe8 23xL8ricxYW1BZ4LQV8mesGiJQ5/oVPbD4ZvtT71wb0aEG/IxsoFITKpVhxEUpltU2Rn NL3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-205333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c284a83e9bsi504020a91.37.2024.06.06.21.39.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 21:39:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-205333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 59357285264 for ; Fri, 7 Jun 2024 04:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD44215B0F6; Fri, 7 Jun 2024 04:27:31 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 457FE15A876 for ; Fri, 7 Jun 2024 04:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717734449; cv=none; b=L2+cbFwFj/2Hl+jVjGjBFx9H8fp+1r7oU5qW20ZaekFQ7Kss3OfuJA4zo4WHIMxGFrZBxwxxmghR9g/+DYXiY9H1a9Ejt77zqCSS/HXtvHcd3abZbb+4kErdi1UlP8+HX6qqUYvvfDSm4gxwZa7nkJW4EoL3uVDM7SMmL7FOtSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717734449; c=relaxed/simple; bh=XQPyQMojxW5RtOF3L7ouQNOfNKX1oIYNKutrjAC9qr0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jgJ+k+NK5kLjSTfWPDyEzO62pBf0akJLy6BFQmw079baZsEkCt0Nl2pA627X/M3YWBh6puwTPkgqFdM7+IBfSdmOTQRHaFS8i98zdHfax4nDQWs4gUuxk1plOOh2iLocQ1626CsUCIR2xqI3X3ekRGdJPR/xefFSdHly7cl1lSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VwSk63LHtzwPFT; Fri, 7 Jun 2024 12:23:26 +0800 (CST) Received: from kwepemm600013.china.huawei.com (unknown [7.193.23.68]) by mail.maildlp.com (Postfix) with ESMTPS id 5EC5D180AA6; Fri, 7 Jun 2024 12:27:25 +0800 (CST) Received: from huawei.com (10.175.104.67) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 7 Jun 2024 12:27:06 +0800 From: Zhihao Cheng To: , , , , , CC: , Subject: [RFC PATCH mtd-utils 053/110] ubifs-utils: Move ubifs-media.h in libubifs Date: Fri, 7 Jun 2024 12:25:18 +0800 Message-ID: <20240607042615.2069840-54-chengzhihao1@huawei.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240607042615.2069840-1-chengzhihao1@huawei.com> References: <20240607042615.2069840-1-chengzhihao1@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600013.china.huawei.com (7.193.23.68) Since ubifs-media.h is only used for ubifs-utils, move it under ubifs-utils/libubifs. Signed-off-by: Zhihao Cheng --- ubifs-utils/Makemodule.am | 4 ++-- ubifs-utils/common/ubifs.h | 2 +- {include/mtd => ubifs-utils/libubifs}/ubifs-media.h | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename {include/mtd => ubifs-utils/libubifs}/ubifs-media.h (100%) diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am index cb4e1cf1..d297f7a2 100644 --- a/ubifs-utils/Makemodule.am +++ b/ubifs-utils/Makemodule.am @@ -31,7 +31,7 @@ common_SOURCES = \ ubifs-utils/common/lpt.c \ ubifs-utils/common/super.c \ ubifs-utils/common/sign.h \ - include/mtd/ubifs-media.h + ubifs-utils/libubifs/ubifs-media.h if WITH_CRYPTO common_SOURCES += ubifs-utils/common/crypto.c \ @@ -47,7 +47,7 @@ mkfs_ubifs_SOURCES = \ mkfs_ubifs_LDADD = libmtd.a libubi.a $(ZLIB_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(UUID_LIBS) $(LIBSELINUX_LIBS) $(OPENSSL_LIBS) -lm -lpthread mkfs_ubifs_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS) $(ZSTD_CFLAGS) $(UUID_CFLAGS) $(LIBSELINUX_CFLAGS) \ - -I$(top_srcdir)/ubi-utils/include -I$(top_srcdir)/ubifs-utils/common -rdynamic + -I$(top_srcdir)/ubi-utils/include -I$(top_srcdir)/ubifs-utils/common -I $(top_srcdir)/ubifs-utils/libubifs -rdynamic EXTRA_DIST += ubifs-utils/common/README diff --git a/ubifs-utils/common/ubifs.h b/ubifs-utils/common/ubifs.h index 5a909f63..ed297cc7 100644 --- a/ubifs-utils/common/ubifs.h +++ b/ubifs-utils/common/ubifs.h @@ -25,7 +25,7 @@ #ifndef __UBIFS_H__ #define __UBIFS_H__ -#include +#include "ubifs-media.h" #include "libubi.h" /* Maximum logical eraseblock size in bytes */ diff --git a/include/mtd/ubifs-media.h b/ubifs-utils/libubifs/ubifs-media.h similarity index 100% rename from include/mtd/ubifs-media.h rename to ubifs-utils/libubifs/ubifs-media.h -- 2.13.6