Message ID | 20240704025740.527171-2-shengyong@oppo.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-f2fs-devel-bounces@lists.sourceforge.net> 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 5E266C3271E for <linux-f2fs-devel@archiver.kernel.org>; Thu, 4 Jul 2024 02:58:30 +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.95) (envelope-from <linux-f2fs-devel-bounces@lists.sourceforge.net>) id 1sPCg0-0001BO-QE; Thu, 04 Jul 2024 02:58:30 +0000 Received: from [172.30.29.66] (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.95) (envelope-from <shengyong@oppo.com>) id 1sPCfy-0001BC-Pc for linux-f2fs-devel@lists.sourceforge.net; Thu, 04 Jul 2024 02:58:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Type:Content-Transfer-Encoding :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=k+tXib1XiY4++hXja8zoXeb2PNj4SrDnA7nNa6syYOo=; b=E+EO6FPqSFvgdxC9B6tGwt1A0I oeU1IyopS1tdqSHnMUR3pizlfF5hIkBj/q/BN6j/gNSEGSwFzjvqjiV34A9moYBPUfvitsYMdwrGU IgY4u7VdHOea/BXvY46I4t1NSl+AdkxnU/5ZKgKRgvgsiahB2EV+zvP1cZpcx9nKm2to=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=MIME-Version:Content-Type:Content-Transfer-Encoding:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k+tXib1XiY4++hXja8zoXeb2PNj4SrDnA7nNa6syYOo=; b=QxxuGRW5HRXy+4j4rdCdioJiO8 aVqxlYmB8/E027/r3wpnNQZdLP/1vf6yZNmFEioInmjhTUsg25dHElBtIgttWBMLWVkpDWSf6Ie96 eJZbtlt1BaINNVVigbDnozSGtwHmgSw5NlFw70EXOPWGwEIGHiHZblzHh/VJj8N9pB30=; Received: from mail-sgaapc01on2054.outbound.protection.outlook.com ([40.107.215.54] helo=APC01-SG2-obe.outbound.protection.outlook.com) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1sPCg0-00011d-22 for linux-f2fs-devel@lists.sourceforge.net; Thu, 04 Jul 2024 02:58:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EaP4bdtSGOUPCnC0qsMiTrzTtXxAVdBzVxZz/2FIR1MEqYGGRK6zzl4ntvN4JSE/1tYhHzNivQBXcxvb/P1YPvPxaQKheX/LzMp0vAkLZuJdGfs8D9Df6m8yXzK9DVSlj7ELwKsM13wu7mZRfFqBfcNCtCfs5SetD9OuXfVpR9ylCrmNuCk/bLH5itRMtfjWCkxlQ/DyNr6XSYt5i0C2Cnc/zEiLOg+v3xBrjITZ3S6edGZwo/OxT6F1lWEJ8pnxnz+N3wXfbME1+rfRaZdYy74d2ezKNzCjoNItJSLGSY4IFCzF3xa22+g295mFZLE8NU223MWubzjjh5FIy+l+HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k+tXib1XiY4++hXja8zoXeb2PNj4SrDnA7nNa6syYOo=; b=LlXEPjXDfmG2gpW6MH0Hrw2gM9ymOWH+sOqmWa0PUjNBHyGVyNAWN8qyCDGpgCHoC4JYfH8BFi8q3haN7O2sUiFxLChrqLUo6fFvrbnWkdAk9HMMyHk/vt2LnPgKOdQnZ7IVuEo4O/RE6ObjzaeCY68IcRfu0kQP0OEHFo2TQ8d2hB/vs8gwD3FjtEdGDidpDg++9TFmufXs5m/h18GYvJJWJSgn4hE/uY+Hb8AB6wkTFGqkmZMNOOVnu2PrlSzv9SVK2Hw0HTH81BDrf3o3nQ0utZHMR9An8V49tEFjE+9WpA6S9ASA7QQbasAEn4lO3JiheqBID/VPLTYZf2rxtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oppo.com; dmarc=pass action=none header.from=oppo.com; dkim=pass header.d=oppo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k+tXib1XiY4++hXja8zoXeb2PNj4SrDnA7nNa6syYOo=; b=gNgL5klbu1a0/3Iwjcgds8Dm/8Qrc19bglmVonKObrav+NLs9tAKn1Jkr8UVy3i1855H2gqnKtKrGVxonuXxPidAPwF+XN725d/WEAeW9UMI8zB87XcZNSnt6HfdJFoUUgRh5p/k+UEqISWB8/mMRYEKVvdFn6fBVUDY9hEgeFU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oppo.com; Received: from SEYPR02MB6014.apcprd02.prod.outlook.com (2603:1096:101:6b::10) by SEYPR02MB7733.apcprd02.prod.outlook.com (2603:1096:101:20c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.25; Thu, 4 Jul 2024 02:58:08 +0000 Received: from SEYPR02MB6014.apcprd02.prod.outlook.com ([fe80::bb06:c283:a50:7796]) by SEYPR02MB6014.apcprd02.prod.outlook.com ([fe80::bb06:c283:a50:7796%7]) with mapi id 15.20.7719.029; Thu, 4 Jul 2024 02:58:08 +0000 To: chao@kernel.org, jaegeuk@kernel.org Date: Thu, 4 Jul 2024 10:57:31 +0800 Message-Id: <20240704025740.527171-2-shengyong@oppo.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240704025740.527171-1-shengyong@oppo.com> References: <20240704025740.527171-1-shengyong@oppo.com> X-ClientProxiedBy: TYAPR01CA0220.jpnprd01.prod.outlook.com (2603:1096:404:11e::16) To SEYPR02MB6014.apcprd02.prod.outlook.com (2603:1096:101:6b::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEYPR02MB6014:EE_|SEYPR02MB7733:EE_ X-MS-Office365-Filtering-Correlation-Id: c7cc720f-78a3-40da-4ddc-08dc9bd520f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: q3mPhi5hQgw3DEUcqPH9JR+2qfDSGoUdbylkvvYIBuKwTl4HT9QPtAFbMG7QwSY54/mpHRbOzwcFU7mo/0SnQG8Pjg7qaXtSepHPkEplFSyyTLuK8c4f3qTZqEpiGtMl+31RVsBB7ppW22l64fQ2vn0R6jdZtrWSR/e8cIEcp4S8bDxvixGCGw32VM0xysXAPOay+SX0r4meFNErCSqP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Wpig1v+u0mBzHKTzVdcBfdQMt+kHfmHPqnsxo/WCgHDnlqVM5t8TIboxXY0t/SNqwUInnRFAzByWx+FhptPhzmFF6fWY5tAh7qg7QlAcawsYMNClf/fsM8cJAngXZlTQIaiKNSgu9ji8VA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEYPR02MB6014.apcprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(52116014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b7NRamK7o+xJ0USARBjtNPqgpgAwopAKojyjKlln/80UDjOJEfD4pGpuqfZMPXU5dTioTKOKsDx17r6aGKtcgjXPibgs8hrG9wwTON6E3lTl9EfbHDWNx8tRMZtBkYCqtSweigADomnalXREA60xkRQEMwWhZBammL+/LNuDttEF66hwXEuiNFXN9ldHjU2Lpl5IjQs2lpwjoAdcTh7mrufBgxJhKjjAn/bIUmkNfpFbIwzQs3mL+ocP98ZRRfDJnEIp2kdRNalcO9a0eXj4S/RZLsc1xueFcQ79lMgS90cnQUq88NJP/1d4K4XTD4yyWoJ5d/VS1BegneyVJKOxGSx/F1eZdTPWMteadiXLAAekzIMFkf0ZH3GHvkjulS/Vt+GNmkP9hLdxL+Ts7hh1N/7lNEiN8NLtqq65pXCx0jW4wZVCeE452RqLwvoyECCthbndfu/4XM8Wp2x8kPZrICO/R8zbReQ6EbkGn0BvMhrAY16T/1oxSBVU/OD5WdxoYhwdFpfN3EuSF2toA1LSQ5Dd1SSalD76iyr4aDynsgpUCBF2y+NeJyBySJkGkCqRfPLcoIu1Q9de5NB4UrDIhR/aattP/UfpEzC3K6N1LimgQUwvCGEiDu0A+n3uiNFO1+VuPu41vNiPmK7Ept9HQkoYCnFW95ZZnHmegDu1YMGSB4yhLDbXyihgGmr0opBBJqiTa674vzG2FcQau2Mk7bjLv/zqNMzLQdU1y5+rA0Tec4sY7LFGcumU0eCmPWj8cuMUR3XCp0JK1N91Prq/n9zhFA4GfmXLjsspPAa5cv81bcE9Z3+weUc7XKvFwb53RuZUjN4fH03a4Sp7pov46TUJwklSNmvffmlAurdWNY7V2ISdfd/idV1TEdoltis2FIJtGA7uPzRxqc/WPTI8LyFIZITSan847Clzi+vgJV2ERYAahIsiqF+P/t/o73u5uG9qzZKZRrq7OovD8oYJ5xsfCrK/TsWUHPB6KvugTWywWysVZWYZ6S2n36NbseTk9WhcJPyx/Mv1Cvb7B8x5x0P+uxD/FMfQ7v7EYoEpw02CrnPSLs76AlmTR8gZl3YUSdYtgvdc5d4qk7fbHl8bKsYBNZidtkY5MqJPsm+M4ZzRljW2DmPVN7I6WDlnERPJXWwwbRak8lX8AGKihhK6Xwa5iNm4mws/a/TwiHCmWsLhWWxZv6Ic5n4WpW0d9Q4iUFebGhY8tuhkeM4qCWpqQeVkHRHAAyjMQiwRab1+gpZuEmqsVD2LGwCB+SKzRnsbp6FJ47XCIG/Dph4UA6LDinHpv/GjYv1k4b6M8Y8zu+D0I1OB5gv8FoVr32KdlkF3DZWOnh9xtZ/uN2DCan+oGJ9Z/EIIgy9bPvhk9Pg7H6wSCUdml1h3NkKwGVUEi030A6Gj1CoAI0DlyvJ+AURC8XXZm5837119FRCNBadkzsKiCrLna0IKBFe9a39t73EiQ0RMMWk6OpDNIl7g8Ddn+jbIN/FsrPzMN3nvUVIgArS5T9CzWCe4EPc5k9/n9Qxjpi/U3jv8evLdCBe7wf5sKLFp7RNgKSHuzHX2LR6e3BUNuXRtDgOI+WRW4HdzfaEW X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7cc720f-78a3-40da-4ddc-08dc9bd520f5 X-MS-Exchange-CrossTenant-AuthSource: SEYPR02MB6014.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2024 02:58:08.0460 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mG+NAjWKYzAXe1GByAgwFAzLw05uapmvpM7o1feY4tUBJscH3Rfnsz2m88sDmBXVrbVG6Pkfb33uSftkvKw/WQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR02MB7733 X-Headers-End: 1sPCg0-00011d-22 Subject: [f2fs-dev] [RCF PATCH v3 01/10] f2fs-tools: export is_digits X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-f2fs-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/linux-f2fs-devel>, <mailto:linux-f2fs-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=linux-f2fs-devel> List-Post: <mailto:linux-f2fs-devel@lists.sourceforge.net> List-Help: <mailto:linux-f2fs-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel>, <mailto:linux-f2fs-devel-request@lists.sourceforge.net?subject=subscribe> From: Sheng Yong via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net> Reply-To: Sheng Yong <shengyong@oppo.com> Cc: linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net |
Series |
f2fs-tools: introduce inject.f2fs
|
expand
|
diff --git a/fsck/fsck.h b/fsck/fsck.h index 6cac926..4ca75b3 100644 --- a/fsck/fsck.h +++ b/fsck/fsck.h @@ -353,4 +353,7 @@ int update_inode(struct f2fs_sb_info *sbi, struct f2fs_node *inode, int flush_nat_journal_entries(struct f2fs_sb_info *sbi); int flush_sit_journal_entries(struct f2fs_sb_info *sbi); +/* main.c */ +int is_digits(char *optarg); + #endif /* _FSCK_H_ */ diff --git a/fsck/main.c b/fsck/main.c index c13e287..c8469cd 100644 --- a/fsck/main.c +++ b/fsck/main.c @@ -171,7 +171,7 @@ void label_usage() exit(1); } -static int is_digits(char *optarg) +int is_digits(char *optarg) { unsigned int i;