I hate inefficiency. Don't call conv_str_size()
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 8 Apr 2007 19:41:47 +0000 (19:41 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 8 Apr 2007 19:41:47 +0000 (19:41 +0000)
commit9b398732180ad4fada7d0917bcd6048aa2410c79
tree87dbb435abe3379adc39de2a0ad1d6e9044b809f
parentfa7024ea055789c7965359a8bd5c49a85bf86f9d
I hate inefficiency. Don't call conv_str_size()
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@22132 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/modules/vfs_readahead.c
source/smbd/vfs.c