summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-10-19 15:28:27 -0400
committerJeff Layton <jlayton@redhat.com>2011-10-19 15:28:27 -0400
commit1041e3f9919999b22c9c2a453aa0d92cd16b76ee (patch)
tree8793a5d636e7c565722bb4353b23c74d185cb28e /fs/cifs/cifsfs.h
parent42c4dfc213190fafffc53815c2ee6064430bc379 (diff)
downloadlinux-3.10-1041e3f9919999b22c9c2a453aa0d92cd16b76ee.tar.gz
linux-3.10-1041e3f9919999b22c9c2a453aa0d92cd16b76ee.tar.bz2
linux-3.10-1041e3f9919999b22c9c2a453aa0d92cd16b76ee.zip
cifs: keep a reusable kvec array for receives
Having to continually allocate a new kvec array is expensive. Allocate one that's big enough, and only reallocate it as needed. Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions