From: Jan Kara <jack@suse.cz>
To: Xianting Tian <tian.xianting@h3c.com>
Cc: jack@suse.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ext2: Remove unnecessary blank
Date: Mon, 19 Oct 2020 18:34:20 +0200 [thread overview]
Message-ID: <20201019163420.GI30825@quack2.suse.cz> (raw)
In-Reply-To: <20201010094335.39797-1-tian.xianting@h3c.com>
On Sat 10-10-20 17:43:35, Xianting Tian wrote:
> Remove unnecessary blank when calling kmalloc_array().
>
> Signed-off-by: Xianting Tian <tian.xianting@h3c.com>
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 <jack@suse.com>
SUSE Labs, CR
prev parent reply other threads:[~2020-10-19 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 9:43 Xianting Tian
2020-10-19 16:34 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201019163420.GI30825@quack2.suse.cz \
--to=jack@suse.cz \
--cc=jack@suse.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tian.xianting@h3c.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®