diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-01-07 17:48:21 -0800 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2003-01-07 17:48:21 -0800 |
| commit | a6d61b6b2c6268f8ff493e0978cfbbaf2c74655c (patch) | |
| tree | 33ab0b809210fd22150e4a9bb89443680cd2a3eb /kernel | |
| parent | 90c4bb0523a4fa08090f5123400eebc3e6fbeaf1 (diff) | |
[PATCH] return the correct thing from direct-io
If direct-io encounters an error, it currently returns that error even if it
performed some I/O.
Change it so that if there is an error and we read or wrote something, return
the number of bytes written/read. Only return the error code if zero bytes
were written/read.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
