diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2005-10-11 08:29:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-11 09:46:54 -0700 |
commit | 19cba8abd6ca09527c194864ae651db65cbacfe1 (patch) | |
tree | 3d59a1e147b2701d0957bef392e2fda441d5143f /fs/debugfs | |
parent | ad6ce87e5bd4440a6ce9aa9f8cda795b9e902eff (diff) | |
download | op-kernel-dev-19cba8abd6ca09527c194864ae651db65cbacfe1.zip op-kernel-dev-19cba8abd6ca09527c194864ae651db65cbacfe1.tar.gz |
[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 <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions