Re: [RESEND][RFC PATCH] blkcg: rewind seq_file if no stats

From: Khazhy Kumykov
Date: Fri May 13 2022 - 14:06:51 EST


On Fri, May 13, 2022 at 10:40 AM Khazhismel Kumykov <khazhy@xxxxxxxxxx> wrote:
> +void seq_restore(struct seq_file *m, int count)
(Yes, this and elsewhere should be size_t to match m->count)
> +{
> + if (WARN_ON_ONCE(count > m->count || count > m->size))
> + return;
> + m->count = count;

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature