diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-29 17:04:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-29 22:46:36 +0200 |
commit | fec8505e0be067a09929216cfe476802f21d14fe (patch) | |
tree | 43c1187436fcb8a46464d1b24e30fac38917f187 /source3/smbd/smb2_sesssetup.c | |
parent | 4f4303048260ca19a5feef6b9338add1a19fb53c (diff) | |
download | samba-fec8505e0be067a09929216cfe476802f21d14fe.tar.gz samba-fec8505e0be067a09929216cfe476802f21d14fe.tar.bz2 samba-fec8505e0be067a09929216cfe476802f21d14fe.zip |
s3: Avoid an unnecessary ftruncate call
If we just created the file, it has length 0 by definition. This is still done
while holding the share mode lock, so no race around wrt other cifs clients.
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
0 files changed, 0 insertions, 0 deletions