summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/support.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-29 17:04:18 +0200
committerVolker Lendecke <vl@samba.org>2010-07-29 22:46:36 +0200
commitfec8505e0be067a09929216cfe476802f21d14fe (patch)
tree43c1187436fcb8a46464d1b24e30fac38917f187 /source3/pam_smbpass/support.h
parent4f4303048260ca19a5feef6b9338add1a19fb53c (diff)
downloadsamba-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/pam_smbpass/support.h')
0 files changed, 0 insertions, 0 deletions