Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp969500iog; Fri, 17 Jun 2022 19:15:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u4McvEnHpWoYhBHQR+p4XUTFPpsPPH1XvNT9LVAOFry3cl2dhujCsVkydAK7vcYLNnjO/A X-Received: by 2002:a63:24e:0:b0:3fd:d5d8:9b91 with SMTP id 75-20020a63024e000000b003fdd5d89b91mr11483632pgc.458.1655518528243; Fri, 17 Jun 2022 19:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655518528; cv=none; d=google.com; s=arc-20160816; b=0Yah1wDQinPPUqkDI1xE70FSLs5/VWCuR1nk6b61AurzSD0kp8J+cfVL9UKGfhZgc+ +bv9pi6dLBtlkDIkICu+guJwRL5AHQcb7sIsi5yKlnBY0zmt/v1adQvsb7Hxqcfef7/v Pel7WHbIrWmgDBRQg3PFAfQ7PmwqCNOtCeeqsYzvYrzcGBpnkAUDEAEVerGXIxeumSuJ 1oE2NTmPXC3mvel1d3aqg63AE1sMGFfE3J1OheGrwUi9TkGmBeTCKX1YrxcQUb9YPL04 kJpVjrHIao8A/A1gsqUxbueZd8o9KVr7BMrYiVwsFOEmnho+dEiaibmIAvLNSWhOy9kk K+Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UVYWoYXMVu0qHK8TfQzTA0frh8dfiQsAKXPPp4/xwr4=; b=xiVX2qnhjcW9DDYdVTYn3CgTzFzfli50+Zh7hDRReprJMi0Ry1Z/i9/HnMGDLo4WP5 aXPeTnGak6BlD9nMMkqD+tBdDWl9XhpW5CWeCy9Z3+sDC+Rj4cStRLzX5L4yCAeI0oQM fahoriSYCIR0z4A9NJjmN0atzRxL55M5WB5E/Q69zwXXd8RPCgptpVg9tB7oKrc39HsE 0tJQfYTKisyFXZ2VeMThJNWtYZnpkVJ+GF/u4+wWvV8m9b5DyoJiXHqTbXYSlWfSYUyz r+S+htBckQ3JDJYMMiEobjH+ivREVAErba8r9/plYpdnnLQ/KMLPpBRnKRJin9teCog2 MNLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=QSQv09bq; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f66-20020a636a45000000b003fdf49f161csi6820948pgc.708.2022.06.17.19.15.16; Fri, 17 Jun 2022 19:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=QSQv09bq; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383831AbiFRCMa (ORCPT + 99 others); Fri, 17 Jun 2022 22:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383832AbiFRCM3 (ORCPT ); Fri, 17 Jun 2022 22:12:29 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C60D36B7E1 for ; Fri, 17 Jun 2022 19:12:28 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25I2CFZS005837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Jun 2022 22:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1655518336; bh=UVYWoYXMVu0qHK8TfQzTA0frh8dfiQsAKXPPp4/xwr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QSQv09bqbWbCF46SQ6tQnHGdnNL2Q1mAIbbOPy2UHLPixnMEOQcFhi35ApU4VvNDz b7GOO/uDdxd7dHNQSsLZXNQ/wF6XUmUv/oJhbbLXhwN/0q87WRRqTRWZaJ2fLTHP0q FzDgNU0WYT97IJyLm2ACFZP5pL1EE1xDdGaVAEyl9uXDAB8uzXYVwKHbh2autT7OWj vfiy2YruZkiBYM2qundrsQyQ41/r3VSdkCRpxbIxQYK92yVbwy1o8PEBPI6mjZMzFr rDedyuiBwnMnyGfdw9LesPBo005hHi6MAKfblpgHLkkcLjbUnyOMVKQVcfCXPYOgVv jgSTxOg2tWycQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id BC98E15C430D; Fri, 17 Jun 2022 22:12:13 -0400 (EDT) From: "Theodore Ts'o" To: Shuqi Zhang , linux-ext4@vger.kernel.org Cc: "Theodore Ts'o" , adilger.kernel@dilger.ca Subject: Re: [PATCH] ext4: Use kmemdup() to replace kmalloc + memcpy Date: Fri, 17 Jun 2022 22:12:09 -0400 Message-Id: <165551818832.612215.11945620005026602155.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220525030120.803330-1-zhangshuqi3@huawei.com> References: <20220525030120.803330-1-zhangshuqi3@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, 25 May 2022 11:01:20 +0800, Shuqi Zhang wrote: > Replace kmalloc + memcpy with kmemdup() > > Applied, thanks! [1/1] ext4: Use kmemdup() to replace kmalloc + memcpy commit: befabc8759af739ddee843a5113b25a17056b8eb Best regards, -- Theodore Ts'o