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 92A9CC433EF for ; Tue, 22 Mar 2022 02:42:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235546AbiCVCn3 (ORCPT ); Mon, 21 Mar 2022 22:43:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235473AbiCVCn1 (ORCPT ); Mon, 21 Mar 2022 22:43:27 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE4FF20198 for ; Mon, 21 Mar 2022 19:42:00 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWUT8-00FBC2-Ph; Tue, 22 Mar 2022 02:41:58 +0000 Date: Tue, 22 Mar 2022 02:41:58 +0000 From: Al Viro To: Haimin Zhang Cc: linux-fsdevel@vger.kernel.org, Haimin Zhang , TCS Robot Subject: Re: [PATCH] fhandle: add __GFP_ZERO flag for kmalloc in function do_sys_name_to_handle Message-ID: References: <20220322021326.20162-1-tcs.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220322021326.20162-1-tcs.kernel@gmail.com> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Mar 22, 2022 at 10:13:26AM +0800, Haimin Zhang wrote: > From: Haimin Zhang > > Add __GFP_ZERO flag for kmalloc in function do_sys_name_to_handle to > initialize the buffer of a file_handle variable. > > Reported-by: TCS Robot > Signed-off-by: Haimin Zhang That's called kzalloc()... Care to resend?