summaryrefslogtreecommitdiffstats
path: root/python/samba/netcmd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-01 11:07:44 -0700
committerJeremy Allison <jra@samba.org>2014-05-02 21:27:07 +0200
commite6e40842d15850de35d00d5138fcaac858e37adc (patch)
tree487aa8ff2009cf8a850a601b6e57b2b67a76b323 /python/samba/netcmd
parent580eb9424c5a9645c44b933e2ef144301af035cb (diff)
downloadsamba-e6e40842d15850de35d00d5138fcaac858e37adc.tar.gz
samba-e6e40842d15850de35d00d5138fcaac858e37adc.tar.xz
samba-e6e40842d15850de35d00d5138fcaac858e37adc.zip
s3: smbd: change file_set_dosmode() to use get_file_handle_for_metadata() instead of open_file_fchmod().
get_file_handle_for_metadata() is a new function that finds an existing open handle (fsp->fh->fd != -1) for a given dev/ino if there is one available, and uses INTERNAL_OPEN_ONLY with WRITE_DATA access if not. Allows open_file_fchmod() to be removed next. Bug 10564 - Lock order violation and file lost https://bugzilla.samba.org/show_bug.cgi?id=10564 Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'python/samba/netcmd')
0 files changed, 0 insertions, 0 deletions