android_kernel_xiaomi_sm7250/fs/9p
Latchesar Ionkov 19cba8abd6 [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>
2005-10-11 09:46:54 -07:00
..
9p.c
9p.h
conv.c
conv.h
debug.h
error.c
error.h
fid.c
fid.h
Makefile
mux.c
mux.h
trans_fd.c
trans_sock.c
transport.h
v9fs_vfs.h
v9fs.c
v9fs.h
vfs_dentry.c
vfs_dir.c
vfs_file.c
vfs_inode.c
vfs_super.c