Page MenuHomeFreeBSD

pseudofs: Make the sbuf usable
AbandonedPublic

Authored by manu on Jan 31 2022, 1:49 PM.
Tags
None
Referenced Files
F82804799: D34113.diff
Thu, May 2, 6:34 PM
Unknown Object (File)
Tue, Apr 30, 12:43 AM
Unknown Object (File)
Fri, Apr 26, 9:03 PM
Unknown Object (File)
Fri, Apr 26, 9:03 PM
Unknown Object (File)
Fri, Apr 26, 5:11 PM
Unknown Object (File)
Feb 29 2024, 7:26 PM
Unknown Object (File)
Dec 23 2023, 1:55 AM
Unknown Object (File)
Dec 12 2023, 4:10 PM
Subscribers

Details

Reviewers
des
Summary

Call sbuf_finish for pfs_write to underlying pseudofs can actually use
the buffer.

MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44186
Build 41074: arc lint + arc unit

Event Timeline

manu requested review of this revision.Jan 31 2022, 1:49 PM

This is incorrect. The fill function is expected to finish the buffer. See for instance procfs_doosrel() in sys/fs/procfs/procfs_orsel.c.

In D34113#771377, @des wrote:

This is incorrect. The fill function is expected to finish the buffer. See for instance procfs_doosrel() in sys/fs/procfs/procfs_orsel.c.

Indeed, I've missed that.
So no need for this and I've added the sbuf_finish in D34114