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