diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-08-05 03:39:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-05 03:39:48 -0700 |
| commit | 65d33ad6e2e36e893079523114d1d579ad96ab76 (patch) | |
| tree | 5a843656a575d83306b2a21295eadc968d127e2a /fs/proc/array.c | |
| parent | 1cc9f865f84b3beab883ccaeb6a61a65421a97b1 (diff) | |
[PATCH] simple_read_buffer() helper function
A number of drivers or special virtual devices really just want their
"read()" function to populate user space from some internal buffer.
This adds such a helper function - "simple_read_from_buffer()" - and
converts several ->read() instances to use it.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
