cifs: allocate kvec array for cifs_readdata as a separate allocation
authorJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:36 +0000 (16:20 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:31 +0000 (21:46 -0500)
commitf4e49cd2dce2ccac6feae64fbb4e90f7d8baf370
tree61f8e5243dd4883d91c80ec60f267d5bed2d1f1a
parent67c1f5295150eb86d065d57b4515a472ecbf008f
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