lkml.org 
[lkml]   [2021]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 13/13] xfs: convert xfs_sysfs attrs to use ->seq_show
On Tue, Sep 14, 2021 at 05:28:08PM +0200, Greg Kroah-Hartman wrote:
> We can "force" it by not allowing buffers to be bigger than that, which
> is what the code has always done. I think we want to keep that for now
> and not add the new seq_show api.

The buffer already is not larger than that. The problem is that
sysfs_emit does not actually work for the non-trivial attributes,
which generally are the source of bugs.

\
 
 \ /
  Last update: 2021-09-14 17:30    [W:0.560 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site