Re: Issue with 252c651a4c85 ("blk-cgroup: stop using seq_get_buf")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2022 at 3:42 PM Khazhy Kumykov <khazhy@xxxxxxxxxx> wrote:
>
> all if they have no statistics. (e.g. by having the "first"
> stats-haver writing out the bdev name, or going back to scnprintf)

It might be cleaner (at least here where we want to conditionally
write a prefix) if we were allowed to "rewind" seq_file (see
following), though I'm not that familiar with seq_file to know if this
is actually a good idea :) In principle, it doesn't seem too different
from seq_get_buf/seq_commit, except we now have the checks in
seq_printf preventing overruns

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


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux