Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3338003pxu; Mon, 19 Oct 2020 09:36:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysYppbK0BEBP4i82yygpsxe/BFoxS1UVVFMYNyzdv/j1fa4uS3j+3oTXOiQomTNkfJpLox X-Received: by 2002:a17:906:513:: with SMTP id j19mr727709eja.129.1603125410894; Mon, 19 Oct 2020 09:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603125410; cv=none; d=google.com; s=arc-20160816; b=gBxtU4k3R3FLiGDDW6gZNW9LksQeLI0Ct9vsNuwf3Pgf37SU3EgRJ6+BFbdukOBi8o izpkHiVvkBhVjWu3Z0e63Xyjzr0HyvfwEBtoCMI3znyfsjQy/p6ecqIPqMp2vd27elN2 vPSzVqcfcfxrUk9br4UxZJQH3ypwKv9jY6hyZSzXQF9OEVEo3Pi7hv4yxxA3Ac0i0oF0 NjOHC5rmQ4hEbacyTPJ2lM3+KFh3hB4wQB9JN/OtIzc6vLcMldsCcjVLCcbgo9VbrJ0T SOqCKW5zo3U9hgoPqNwv0SuqmgGhC/67/2Ivn/xNdRcgo6F992f6y/6n3Zgntha23GoD xMNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=PokSBbdhnkMUxd+0jgDji+HaFI7mHLBmOA7FiaDgbkM=; b=JuEu5KQUPWGNQ14qwbkkOVEMxLa8Tu688bwWPjc5ENCYoDSeYSWvbxgi1FoBhzTlD4 EUhvS71uC6/6Ln9J+twxm9Uyq5Ry51gYhdzjfzZ0YlMuMq8jYxexrmOi7Lh9VF5sm/de X7g/BWZwD02n45PtcOuEpmQUfhiGAnYDbvaje1wflKcj2IoX5ZopRgocfvu0vLOqIGh/ QBVi15/ppXfWPeTG/imJZiqCtK4Q3GSK9j7R/8QCqHhACTta/wxHd6D4xPkwy6kgt+5H xILoTAFuYLnMBSi3OwdfoytTF37JN2Y/OS8EfwuA3Mn4S8dbwhjskdixQ7xqV9+wNqqa b1ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q28si116727edw.303.2020.10.19.09.36.17; Mon, 19 Oct 2020 09:36:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730340AbgJSQeY (ORCPT + 99 others); Mon, 19 Oct 2020 12:34:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:42986 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729879AbgJSQeY (ORCPT ); Mon, 19 Oct 2020 12:34:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 20022ADF5; Mon, 19 Oct 2020 16:34:22 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 5A35D1E1342; Mon, 19 Oct 2020 18:34:20 +0200 (CEST) Date: Mon, 19 Oct 2020 18:34:20 +0200 From: Jan Kara To: Xianting Tian Cc: jack@suse.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext2: Remove unnecessary blank Message-ID: <20201019163420.GI30825@quack2.suse.cz> References: <20201010094335.39797-1-tian.xianting@h3c.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201010094335.39797-1-tian.xianting@h3c.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat 10-10-20 17:43:35, Xianting Tian wrote: > Remove unnecessary blank when calling kmalloc_array(). > > Signed-off-by: Xianting Tian Thanks. I've added the patch to my tree. Honza > --- > fs/ext2/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ext2/super.c b/fs/ext2/super.c > index 7fab2b3b5..551e69755 100644 > --- a/fs/ext2/super.c > +++ b/fs/ext2/super.c > @@ -1070,7 +1070,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent) > / EXT2_BLOCKS_PER_GROUP(sb)) + 1; > db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / > EXT2_DESC_PER_BLOCK(sb); > - sbi->s_group_desc = kmalloc_array (db_count, > + sbi->s_group_desc = kmalloc_array(db_count, > sizeof(struct buffer_head *), > GFP_KERNEL); > if (sbi->s_group_desc == NULL) { > -- > 2.17.1 > -- Jan Kara SUSE Labs, CR