diff options
| author | Latchesar Ionkov <[email protected]> | 2005-10-11 08:29:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-10-11 09:46:54 -0700 |
| commit | 19cba8abd6ca09527c194864ae651db65cbacfe1 (patch) | |
| tree | 3d59a1e147b2701d0957bef392e2fda441d5143f /scripts/patch-kernel | |
| parent | ad6ce87e5bd4440a6ce9aa9f8cda795b9e902eff (diff) | |
[PATCH] v9fs: remove additional buffer allocation from v9fs_file_read and v9fs_file_write
v9fs_file_read and v9fs_file_write use kmalloc to allocate buffers as big
as the data buffer received as parameter. kmalloc cannot be used to
allocate buffers bigger than 128K, so reading/writing data in chunks bigger
than 128k fails.
This patch reorganizes v9fs_file_read and v9fs_file_write to allocate only
buffers as big as the maximum data that can be sent in one 9P message.
Signed-off-by: Latchesar Ionkov <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions