]> 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, 18 Sep 2012 23:20:36 +0000 (16:20 -0700)
committerJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:36 +0000 (16:20 -0700)
commitbff34171c540e68686dfc57656d2f73adfd3088a
treea021ee08552b35ff52dac0904bb3cd3e042b9e9b
parent8555bcd5497ef6683a64a33533351d158dc49ce3
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