]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: allocate kvec array for cifs_readdata as a separate allocation
authorJeff Layton <jlayton@redhat.com>
Tue, 14 Aug 2012 18:39:44 +0000 (14:39 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:32 +0000 (09:44 -0500)
commit382ed12c327f41a628768ad57ebca1df241bdab7
tree668104e3697fc2e31061f3c89e01041f0e8a4592
parent23c3243f9dcb1e17a084587173382c74bb427e03
cifs: allocate kvec array for cifs_readdata as a separate allocation

Eventually, we're going to want to append a list of pages to
cifs_readdata instead of a list of kvecs. To prepare for that, turn
the kvec array allocation into a separate one and just keep a
pointer to it in the readdata.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/cifsglob.h
fs/cifs/file.c