Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4278756ybl; Mon, 13 Jan 2020 10:53:27 -0800 (PST) X-Google-Smtp-Source: APXvYqw1PgHcbbDqf28+QsPDFsKbc/AcXKreZ/dOfab9ifgsRaSsl8Yo2oqqTmxZs3NqgZLRWnd0 X-Received: by 2002:a05:6830:2009:: with SMTP id e9mr14451073otp.160.1578941606996; Mon, 13 Jan 2020 10:53:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578941606; cv=none; d=google.com; s=arc-20160816; b=g3VniRb9jaa9cMUsH/WhvGwzbs+3tz15803MLHAkcm1T2nQOEFc4X56V+p17bl/sDp T/xtTAw0rdgEJChUu8EN0lIYaEYrePTubiucfQtJaFqRS0kjyRy9TbXqax3bDP0KYgmd YS5Pe8xbObQszU4TxHyWqu6J9cMge4nl/da1tqdTwLs14+RiJhkZOYRYlJl100+5nW3i O6aUmus8eQNGOIvG/IjVEaeZ+3bjQi5zWLOqF17hbQRg9G5qNopSJbS1XhoOr6+57aCe 5eXd3sK8QmV9SzN1dAUDQZkhL7Je95F4OURmD7F4hHThMF4LCqv54YykyYHcOTy7PUg+ 7ImQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LJZxRb8/VxDVLZmNJPNPFoWe2NDif+JDYj1ZzHmTYtU=; b=t0E6buSbfE1p17ZPhKwrz8Y0/IIO7xcnMjlMdjhx7L6SL6uigldbkbpVS7OPR6gg39 PIRN5N69E7sRSFHpeYxGehxzEf9cAMcZQqrGa/dfPww3XoHzZR4EbEbgZBYMef+mV4Yh 0tjPR9ankZQ7284kYHmiTL0UzT2Gw/jd3UdxlzpMrbejrW4hpHbGF++YXqZpMgyXw01m rjF6lFcI8EHpf99CSyNOSYUt6DPZgbxql1nHhSdnAyWOgEWBC8oXxw8NY71vUhQfEzs4 xKW2SxwOzP4WFa8XPILP3qE/BrV9sdvqoXjV9ndb9Y0Z4X3zMWtnZOJJpB7rjg30rSbh q4JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t184si5981973oig.184.2020.01.13.10.53.07; Mon, 13 Jan 2020 10:53:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728633AbgAMSwz (ORCPT + 99 others); Mon, 13 Jan 2020 13:52:55 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:48289 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727726AbgAMSwz (ORCPT ); Mon, 13 Jan 2020 13:52:55 -0500 Received: from callcc.thunk.org (guestnat-104-133-0-111.corp.google.com [104.133.0.111] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 00DIqd4b019539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2020 13:52:41 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 6D15D4207DF; Mon, 13 Jan 2020 13:52:39 -0500 (EST) Date: Mon, 13 Jan 2020 13:52:39 -0500 From: "Theodore Y. Ts'o" To: Chengguang Xu Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Subject: Re: [PATCH] ext4: remove unnecessary assignment in ext4_htree_store_dirent() Message-ID: <20200113185239.GB30418@mit.edu> References: <20191206054317.3107-1-cgxu519@mykernel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191206054317.3107-1-cgxu519@mykernel.net> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Dec 06, 2019 at 01:43:17PM +0800, Chengguang Xu wrote: > We have allocated memory using kzalloc() so don't have > to set 0 again in last byte. > > Signed-off-by: Chengguang Xu Thanks, applied. - Ted