diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-14 16:11:35 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:38 -0400 |
| commit | 9375fbc20079ed0c8a10d8d387b2c173a3dc04d7 (patch) | |
| tree | cbddc66dfe8fd66bb74924451d962777fb6e6867 /fs/bcachefs/debug.c?id=9375fbc20079ed0c8a10d8d387b2c173a3dc04d7 | |
| parent | c59d66b51b11064f17d87d5b9695e0216b8ade99 (diff) | |
bcachefs: Debugfs cleanup
This improves flush_buf() so that it always returns nonzero when we're
done reading and ready to return to userspace, and so that it returns
the value we want to return to userspace (number of bytes read, if there
wasn't an error).
In the future we'll be better abstracting this mechanism and pulling it
out of bcachefs, and using it to replace seq_file.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/debug.c?id=9375fbc20079ed0c8a10d8d387b2c173a3dc04d7')
0 files changed, 0 insertions, 0 deletions
