diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2005-10-11 17:29:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-11 18:46:54 +0200 |
commit | 19cba8abd6ca09527c194864ae651db65cbacfe1 (patch) | |
tree | 3d59a1e147b2701d0957bef392e2fda441d5143f /fs/ntfs | |
parent | [PATCH] dell_rbu: changes in packet update mechanism (diff) | |
download | linux-19cba8abd6ca09527c194864ae651db65cbacfe1.tar.xz linux-19cba8abd6ca09527c194864ae651db65cbacfe1.zip |
[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/ntfs')
0 files changed, 0 insertions, 0 deletions