Revision 19cba8abd6ca09527c194864ae651db65cbacfe1 authored by Latchesar Ionkov on 11 October 2005, 15:29:03 UTC, committed by Linus Torvalds on 11 October 2005, 16:46:54 UTC
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>
1 parent ad6ce87
History
File Mode Size
netfilter
Kconfig -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 270 bytes
README -rw-r--r-- 299 bytes
TODO -rw-r--r-- 1.2 KB
af_decnet.c -rw-r--r-- 53.7 KB
dn_dev.c -rw-r--r-- 34.1 KB
dn_fib.c -rw-r--r-- 19.6 KB
dn_neigh.c -rw-r--r-- 15.9 KB
dn_nsp_in.c -rw-r--r-- 22.1 KB
dn_nsp_out.c -rw-r--r-- 17.7 KB
dn_route.c -rw-r--r-- 44.8 KB
dn_rules.c -rw-r--r-- 9.8 KB
dn_table.c -rw-r--r-- 19.4 KB
dn_timer.c -rw-r--r-- 3.1 KB
sysctl_net_decnet.c -rw-r--r-- 9.1 KB

README

back to top