From patchwork Fri Jun 23 07:58:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 13290120 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8E10EB64D7 for ; Fri, 23 Jun 2023 07:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjFWH7g (ORCPT ); Fri, 23 Jun 2023 03:59:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbjFWH7f (ORCPT ); Fri, 23 Jun 2023 03:59:35 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D16F1BD6 for ; Fri, 23 Jun 2023 00:59:34 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35N6T3Yh023965 for ; Fri, 23 Jun 2023 07:59:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=bDy7poz3t08co9eb8fN2eitCToUEP2YMTlQAXa8RZVU=; b=fFXkUPiXyIOyi/LiC/BJaCuD9BZCtn+1RLK3exgcyZK3rwSMGsRDF9v0sEjDQ1C7T8Ua p0DrjEq8TSV0Mzmq8eWJQ6oIkR+Qu8Li87QcETua9Q03J8+FHNB+inVL9iZPbQby4uQV tcN/k5+qKrvL9uGXiTUW7kxlYPZ9XWPdGaCXe4PGELui/mIXNj+aD0PZYAW/YWLdBjh+ WvOUJWdpU5xoJ2Fom4m0F7bCWS52IhWhvIg66MugI6WXE0c8m3deKRO4JCM/Qrek+mdL eyBQ7NGFxu0v3V0Scen3dn06cUQ4+VMt95izVLhes7kGiONe4ES2bIAFZ9PmB+MF5pUx eg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r94qaba4h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 23 Jun 2023 07:59:33 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35N6ZXTU005898 for ; Fri, 23 Jun 2023 07:59:32 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3r9398f3wb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 23 Jun 2023 07:59:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W4VBSvn9DxQWUfOBRAHlFUsGTWV216D12k9i7QfWLVHndvnET3hhRYytNg2bFwmgLBI0J6V9pnYxvziV+vN8BtXnPTFUaBVuKBhNfHsVYVrtT6VcLKXRMJt9Ot8u3VI9YPNhTFDxTZy5Y0FPHWI8HpGtXUuCQPJRL5uGlnjTiwAgemoUdEJ37ixM9qOBm/m5vXmRyOLkb2QfpcwkugsLMj8+YbOkEAiAXGeHvDMDxLuJcQ4cWAOAZlkI/QFJO5IkIhx+VOLa2vUvLj2htBV2zxRA7Bl3njMSBAtZEgO7VAIZgLWzmFJA0Ma6oIRaQlLf282BJgOWJZWdRnr6AWZt1g== 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=bDy7poz3t08co9eb8fN2eitCToUEP2YMTlQAXa8RZVU=; b=fjYdxy3/xnXif/CZnEaGm5P0pseZt3k23uL9jnyLvP4IOwg8Uwrsfd1D78BFic0vvjCRhHR81hdmaBq6GKLOQ9aCvMbqXQbY+cISdlZFToauE3fY3cCv5VMarE709kBvfv/Y3HQ3xLZJweYyApZa3o0XALlF187iY+ZzFCtBbSn58oh7L8oXDoT2TROD718wM/OH+Ic7ZqcCmvw52pWJrd2PTTc50Gqv6hh6hQgYWkF77qxqm7BDPotu1e9v+JVd7JgNieHzgpJyr/f/H+9T5LnOiS2+nZcsD6nK9En3on6zoBc1CKtVWL0PcpFAXGrVrXMDl4T5WnNdMYG7v7n0JA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bDy7poz3t08co9eb8fN2eitCToUEP2YMTlQAXa8RZVU=; b=diUpiyOSb4LJArSfeedt4y5mGr3MIse4FBpX7/q3aDl7nvXL3Z0fRPWLnZUj1rwX6orvpzlSzDX/9rtOWzEPtEnFDiOJ/q6+K/PVyQ/r/z0qXMnqfgCbNYktKHpnPipcEsYbPa2kbQ8EZDjCXaZkdNxlQGbzUwCncMS3sef0LKY= Received: from PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) by SN7PR10MB6523.namprd10.prod.outlook.com (2603:10b6:806:2a6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Fri, 23 Jun 2023 07:59:30 +0000 Received: from PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::bc67:ac75:2c91:757e]) by PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::bc67:ac75:2c91:757e%7]) with mapi id 15.20.6521.026; Fri, 23 Jun 2023 07:59:30 +0000 From: Anand Jain To: linux-btrfs@vger.kernel.org Subject: [PATCH 0/4] btrfs-progs: tests: fix warnings during make test Date: Fri, 23 Jun 2023 15:58:58 +0800 Message-Id: X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SI1PR02CA0013.apcprd02.prod.outlook.com (2603:1096:4:1f7::7) To PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5706:EE_|SN7PR10MB6523:EE_ X-MS-Office365-Filtering-Correlation-Id: a598e86b-c2eb-4d8d-3e55-08db73bfc648 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G5I1R2yPCtEDqXZlKRd7c4RHaQ8Mx0EeqLou+Z0pWWQad7aHom4Brg5e4pPDSoLqWHSmjenGtgzmHYfIjanSiUjHVfDUcjOb9IZzWPy4xzN9mOV0XptX1aZE0v3lrsaKr2eDHutCwCJhZ9OAIFdC+su0YJ29kjgFKpAp9zgAQiYDZO4VD0GPsHUU2Bkbn+NFdyeXheskHiHxQVJ/vuhzQvhG1O+LHIciPCa5JaKiylySE/P4YHVuP2XQeSBfcgnIkBpFGnD6T1rOXJ9AObxm/TrU0QM8YaAId/dpSQKoIqjfMDxUQEsQIs2RrtWCYUNdLE81ilF7sKF2PX9Z6HAF7Y0q5Wki+8LfhaUjL86KY3X5BeB1LJGI9IcLaJIKrN6x2lq4rak9Z68+9AAjkU2SOaDbzjvyQ4hzH+hCtwObWg8ABekms7N+ZFfqQZCsVHr3b3P5qqlQLRiD7SF3J3ChT5Y8BYhbmMX9MXg9OeMx88gPZL8vLVBwKfRuqCCRzWfue0a7Sh58pqKl35cO6jWbg/1rRA0M7AgF+7fdxLeIwLq9GLhYvArEGUK6LMkP1Bcl X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB5706.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(136003)(366004)(39860400002)(376002)(396003)(451199021)(4744005)(2906002)(44832011)(8676002)(5660300002)(8936002)(36756003)(41300700001)(86362001)(6666004)(6486002)(478600001)(83380400001)(186003)(2616005)(6512007)(26005)(6506007)(316002)(38100700002)(6916009)(66476007)(66556008)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FJRex/OwCPu4cC/bUWobKIY1LkTV?= =?utf-8?q?JrePCco3CUNO8/tztf2IF3RtXE9chdPsPYTXQJZfuHFbfEpn7GLDvVw9RJCPjP+pB?= =?utf-8?q?FI179pk3bDrtaTV2uF6U1jiCz3PiZO8KQ4ctwMHowZcNj2XAcqUBcZg1Z4gH4ee8D?= =?utf-8?q?dg9asxu0w178FuH/MFLUGfo8nVHol4P20qsl/oB+nznxexNqZdHlISTnm7eExmmFf?= =?utf-8?q?rBHxX4YfUa/Pb8lI+jXbo7YAlpLXFyqVH01NLfviGIeENx+AW1xbrreHm8evnPL/M?= =?utf-8?q?zWksxQ1NRooiAX+Ba8900b5aqBGiAMtD5x0S6tXEq8me9xHXhrsBG6lKg7ga0ymZS?= =?utf-8?q?rOtuBMuqrQncoHPgWwrGdWJOhfFN+sb0PewS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/BLFlMRJjsq7924DTWkJUaF3hrdfseT8A6y7?= =?utf-8?q?ljAMQAhMEwuc1B5RmpWuAe6hDQ1WJ0MtQwTnAzxpCXixeyD56/t1RW1QgQbJju9IA?= =?utf-8?q?BR6KHjkwdxpXQjKHzVfjtqr+dL4R0ChNoN1GPaGekht2aSY74P9P9mJ+1zIhRlri4?= =?utf-8?q?l8Ww97Jox7TqlU5OgLqZ0MXcm+O8qEwB5EW+uj8oyfQb5m5v7LFeMx/w2QzYqG6VJ?= =?utf-8?q?GSc/P7CRzspoe/a43I9mRkbn+7N1+9wG+WTrAIUOqmZf4XQwfuTzv4L6peFrU54h/?= =?utf-8?q?sZl6no9yrkg5?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: uDyH9/PMHUfv9sDcpqCsIgFO3alJYNSw1Wkvrc1eyrvWaJJLz6VtM4rRTa9Q5euFIBg2NXMY4WUmLuP4lL8qjj8XpbIT4K5bx4kcea84gNTo/qxLdubcy63bstzAQrFDbchumyvci3TwJNNRSUHnstI/qsaT5Y7JjoHOLUcXVo+RolgAL/04wxTah1QbbC2tCCeVYnRWf9BCiM3BYutOPllHrWKdVqKVha2foQm9dA4NbQ8p2TjDScCBCAoRWo8v1PGHv+K0PDOz5OfT4HZ2a3U0cHh1u7D4U0oO3v3KsTpukd9qLsVt8QnYNQpAhO2yHjRyq3cz2mGjjNvbT2IVBtn/ftsSAamcivXgbhf4qQyMUpBfvgUhJ/MfXx51K+Hjdn00138cvFSYP0se3rf+8am3edk8jENDpzH3BD/u9CiGqXwLHliE4JNy8nej2QzIEFO+COPwnRceQg2qd77MDVHvWysaodTysIigfWyaI22GwuYJFb6DqmnNui6mZsbsu9LDMYYPNL1KTQNzi2KuLXhZQD5frYptX2SddCegb4LrL6wVAKqbqKSN+53xh+rgb8n/7hg4z1YL65vMkYeHYmjJ06Gd0Sqa/eGf0NofCXw2pZrikln7rhW1qS/+9L5780y4UXvBdZ3QZCRHmt1SNdZcOXacX+ZkqLvN3maAwQDANx/mcAk8fd00LsYQqdlZ4/iCItUVLHEhReP3jxJIcrJ1CyrNMO88xCk0UseHGvNwc8Dr1+02FTmPeuVo9dyyKFeHeiVSz/gFPHb5Gworfw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a598e86b-c2eb-4d8d-3e55-08db73bfc648 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5706.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2023 07:59:30.6831 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6t6zwtnsClqREQnOPztyCx7QoAJYuwL8tnC1cLc4gK3QO5ra+eS782LIXGI729hNyg7bJ/RR/U5UpXPzi17htw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6523 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_02,2023-06-22_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=922 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306230071 X-Proofpoint-GUID: AXgStXbJQT45Bpt5maE7Y7kBc2yiiqU- X-Proofpoint-ORIG-GUID: AXgStXbJQT45Bpt5maE7Y7kBc2yiiqU- Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org This set of patches addresses the warnings when running the following commands: $ rm fssum fsstress $ make test Ensure cleaner test suite for btrfs-progs. Anand Jain (4): btrfs-progs: tests/fssum.c: fix missing prototype warning btrfs-progs: tests/fsstress.c: move do_mmap under HAVE_SYS_MMAN_H btrfs-progs: tests/fsstress.c: move do_fallocate under HAVE_LINUX_FALLOC_H btrfs-progs: tests/fsstress.c: move delete_subvol_children under HAVE_BTRFSUTIL_H tests/fsstress.c | 10 ++++++---- tests/fssum.c | 46 +++++++++++++++++++++++----------------------- 2 files changed, 29 insertions(+), 27 deletions(-)