diff options
author | Jeremy Allison <jra@samba.org> | 2013-03-25 09:54:50 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-03-28 17:51:22 +0100 |
commit | ffe14d99083fe5344fa7678e7ad780d930398427 (patch) | |
tree | a2b5f2f51f8636df40724540ced3d37eb9fe300b /tests | |
parent | adbe6cba005a2060b0f641e91b500574f4637a36 (diff) | |
download | samba-ffe14d99083fe5344fa7678e7ad780d930398427.tar.gz samba-ffe14d99083fe5344fa7678e7ad780d930398427.tar.bz2 samba-ffe14d99083fe5344fa7678e7ad780d930398427.zip |
Optimization suggested by Volker. Don't do a stat system call on normal read path.
Only do it if we need it in the sendfile() path.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Mar 28 17:51:22 CET 2013 on sn-devel-104
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions