# Re: \[PATCH 13/13\] xfs: convert xfs\_sysfs attrs to use -\>seq\_show

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-09-14 15:30:17 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/09/214228
- Thread: https://ratatoskr.run/linux-block/2021/09/214031/t.md

```text
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.
```
