Message ID | 20240624135532.3330136-2-shengyong@oppo.com (mailing list archive) |
---|---|
State | Superseded |
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 752F6C41513 for <linux-f2fs-devel@archiver.kernel.org>; Mon, 24 Jun 2024 13:56:10 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from <linux-f2fs-devel-bounces@lists.sourceforge.net>) id 1sLkB0-0007fm-Ic; Mon, 24 Jun 2024 13:56:10 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.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 1sLkAy-0007ff-VM for linux-f2fs-devel@lists.sourceforge.net; Mon, 24 Jun 2024 13:56:08 +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=1XkzWrJunNjwg07SZ0xtl89vq9kjD5f3AOik3evu6LI=; b=IOc9qKMGBM+Van3V3cK6FtjQ1a W4r5r9bKfVvMk2PI7+gu7jJnOHVIM4ZHxQ4Z4ekBTJhVV4OrhQbGLP1N+wwEkfera2UeULkJ35VJg KDAx0hSp+3y4sR6CNpr+bSJpKGeumlcuCTne4RUgUz2gbNRgxINml3vp37dp6ooTsq4E=; 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=1XkzWrJunNjwg07SZ0xtl89vq9kjD5f3AOik3evu6LI=; b=i6AhTq3A7ptX0H4wxobXMFB3kq gf6HH58Lm5TGk26slaMUllTnJYCxcVIRCEMyhwb7nTRdT9pdLDLOpaNx6N2vJHWQdZVaXS3Vu7U9h apre57gLO8/B542hDktNQM8/P1pBVhGnaGOMV5t6EOlVRMF1fR0umcQd5/BIN/wbGSKE=; Received: from mail-sgaapc01on2083.outbound.protection.outlook.com ([40.107.215.83] 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 1sLkAx-00018a-Jt for linux-f2fs-devel@lists.sourceforge.net; Mon, 24 Jun 2024 13:56:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QJpox9wENd691wH9e5+T7W/XlUnc9my8JoQS04XICnl4vvdXLv+pkNe+nuco4gyDio7EG0R/EIteJgXJXDdh2pvK2SitV77BaRjeHPzTspKIEMwNBTfN5inHg7UXSuSJ3Kj/YxdpY4B5VzHAu7KmjIvLZb+DjrW4BD7rq4gux3e11L110jAQcc4TZwyXqMV99uPK/GV3liiWLNpOyJfgNDjIErRh+OPcUf6oNu5A5GJ9FFde0qtNIXau8xF8zPtlh2xYgXb6TPqMgicOaaeBb3LwNqHqYHUO79ATuQnuCV7WpUPe/OJyglxlQUVc4kk9ZniynIuL/hlgBl2emFrBqA== 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=1XkzWrJunNjwg07SZ0xtl89vq9kjD5f3AOik3evu6LI=; b=dg4wIU+0+D0OWheJ4TtAp+b+2ksQeutcy1emmo0ajuKilg9xvK/VO7o+vPfesbzpcurgOinZxG++IA/aGhGb7yGckP2p++A1G8/ktDGf2r1vQ1EHjshJAPAAEH3/ukbIFe3epjNMgJUY0UKeoABMtByNVL3xphRugsMGQR3bH1Sc4NRgVDimwp6J6DYiuNhHfDrNLCsCjk3+4FM8RBbLV2M2RBwLVZqObN1Zo70s5F42pXrTSeixzP4sVg3I51OtSlD9pm5qs0lkGW6Ug9W3qMQmrBWHaVuEUueYpqhseRByG8Eiaf/OZMAcGAC290TR0pYzH0aWMQc8453BtlfFMA== 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=1XkzWrJunNjwg07SZ0xtl89vq9kjD5f3AOik3evu6LI=; b=tbrJhf66Y3NZ2fInGvdnYA4cknln5IqVodPZAJL1WzkcqGzonpGH4QngX0bHYsUAwQ5QrKX36eQvXEnsz6fmz66r/69xbqGSupt9rzz2OSBdds3CO11O7yLLwV8vVkV1x616Jin5wA3ON54FdFewSpynpJmSBNs9/kbqueS2an8= 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 SEYPR02MB7438.apcprd02.prod.outlook.com (2603:1096:101:1e5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.28; Mon, 24 Jun 2024 13:55:54 +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.7677.033; Mon, 24 Jun 2024 13:55:54 +0000 To: chao@kernel.org, jaegeuk@kernel.org Date: Mon, 24 Jun 2024 21:55:24 +0800 Message-Id: <20240624135532.3330136-2-shengyong@oppo.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240624135532.3330136-1-shengyong@oppo.com> References: <20240624135532.3330136-1-shengyong@oppo.com> X-ClientProxiedBy: SI2P153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::7) To SEYPR02MB6014.apcprd02.prod.outlook.com (2603:1096:101:6b::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEYPR02MB6014:EE_|SEYPR02MB7438:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ebb7a23-6436-41d4-500e-08dc94555db5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: XwvPW59p1GZ/qDXjYEXxUfvsWvvrKYVaWtS0WaZvuVJyF+Ta34EFKWTRpTbrxD9G80C3AmhvS9Hd5UetS9CPmSLESegiVMNT5MR9hnRB5Yy21vIii04uMKBf5SQ9IExfR06MYb6V6oFmZNAwcxm6qls7MhZeliG4sqyqVx7jXRrmAv+RSGTt8+ap2iskRuxdoPHNBfMTF5/qs09u9gZFNLAZzBLEOUm4Xm5m8yA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tg1Q3j0sGEtg/YFGUiZJvTVvaXN9oHLDCcHLC87KXzWY5A366VoxJs= 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:(13230037)(366013)(52116011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dJAQPGoDtpXBZaJR+6+sEAQuQmgRHcyMRfcbeK5yVwDoiU7Ihm8Cr2kygC/mJKPlt2G2URH6DvhKOtKi/UdCrPSH5qAu/8fIAq7IQLUr4kHKFPINI1iiMOMSAB08CsQOPWtm2HpK3/CTvLeQH1uWpHMPXhPZH5RWCVZlKrW9/+5RigX14wOz9/vcouN5OYUfRE+UAUJPz0Q5n1UsFIraUxZCsOQGPKBQzIc3R9rgc5mhHjLBYGTU7oRGDRrZIuIjs5oBD5Dlx0kGzAcPEBq3qpWQ4IcixkpOFUaIsSNp+9lj6PKlcTolpsNddUDXxo0dbw/UfJ4kR5j3TbuHtAs520jHUtoL69Mt5V6B03kkY6grpwqddDaVhql5aYOkf7t9B3vGSFSN2A2tKsDK6bIN9H8xred5SYVnEHBhqgbToYyLU1AWNc4ZxfiJXPzzCeliTpgK/YA3TSCctZfTRLGKFOvKYwxNig3FOPUfFuIgTowblewfENV6Fxy31E0yQsAZ1CLSeG/x/GrptkMQFcYtMmJ6IfNxvbHvG58m/RZey7bD3wcx0oxeKrwU6o8mtB00sYjq/+9+fX881wF6XfdXliBciMXkwWS1ly8OJMtWuAOjyuv7ffCKrLq8kRc7FBZeTE3T0Qw0lsSRJH0HAO58kLfi5j1tOvDiewP43fBVLgWZiUN1X2j7nxywEZYEL7nvZVUIdL/ejF0bS/swfWnQdEgArrPcoNipbcD4CML+aR+UxfJC/jLX4d7czgMOCjX1S+gxUgR2XKLSmkoInpy4jvMltsjyZdYBWpu/qI6zdMJ0EoE4pwmofSzMQRPVqhZ4mLUGbAMBTSp/MGESQ+dfTXpaM/xExB6ZYsdTMuDuTlizxvkNSjsdMn9RXWJ06ecVevOGpqmZRLtk8qQGZ3yc7BdIGWrdAGmDFL3BPzie07d1AOWe0BuvqRgyKM7V2/Eg74BLjp9cqejx16Sh3AZOGiIO/rt0G2EwdBHzDu3oeihkuK4bGw2GReWfO/KreetZG8k1UyBaRXkx5gpW6pWyCvv7gMVIK0ZilTzi2uOAnbIcVLMG2+dfnms/BKEAgqqM5H0mqE3vt1Y8sfM5a1ZvY2b4qlLtVtiVimAnZGuU3ODaboWtP09Lp6PviJu4WwnUDijCdxmQi6lxIa8NIB338JiOYPo3rfoKgfwS4ML8H0pXv5HDXVd+ncF8YY2QGHB6pIpSjZbBtjjccxBMuDsKjCXMbwe6Z49c967VO9P0I1VLZBlxwMm5Odztw9+9tWpp7Wrcp5rZEoJeyyhXeO1TvoGMhOK+WvyT9j7NMs3uwVGq1cLbV99QcVrAdC3z+UbZJdEthmKTuJuNiv1B6GAg5zgRL0undb7+GWeCXoeazcKdK47mVo4ZRYGsfCuf753zmS9YIADzLGv6meHB9wfXYLzdgRCNoKvgar/xm+S4SX9+Z1nzdBRacntQ+LrTA9r0X2OQUpJlrUqNJ10akiOiLkYAZTXjasIKWzW+f2gjclqibcFgtEBmby/lvXiC4rfsYTeXBmT5nYaeTHeBwUDo6n2rP/bmUhNgXV/ni/pdgdtoOvP3H22CI+NHx4c5vNtW X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ebb7a23-6436-41d4-500e-08dc94555db5 X-MS-Exchange-CrossTenant-AuthSource: SEYPR02MB6014.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 13:55:54.6970 (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: 7mvNkGxODablXfcoB9CUJZIN9Hrbk/CHNa46U2uQMPuQSFmc6RTc9UTlCdQy+IJhbXxeJuy9Xdi1bc0I6F/FYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR02MB7438 X-Headers-End: 1sLkAx-00018a-Jt Subject: [f2fs-dev] [RFC PATCH 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 6edc902..9bda412 100644 --- a/fsck/main.c +++ b/fsck/main.c @@ -166,7 +166,7 @@ void label_usage() exit(1); } -static int is_digits(char *optarg) +int is_digits(char *optarg) { unsigned int i;
Signed-off-by: Sheng Yong <shengyong@oppo.com> --- fsck/fsck.h | 3 +++ fsck/main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)