diff options
author | Jeremy Allison <jra@samba.org> | 2012-05-18 19:29:36 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-05-19 06:26:33 +0200 |
commit | 32cbf20e65578b3d5e71d571d81d561f33a887e2 (patch) | |
tree | 0753a8e2b257a085a7ce91137c36b39c43be1f8d /lib | |
parent | 87a62df8e69bfd45c944f44fb7d03da244dc9a44 (diff) | |
download | samba-32cbf20e65578b3d5e71d571d81d561f33a887e2.tar.gz samba-32cbf20e65578b3d5e71d571d81d561f33a887e2.tar.bz2 samba-32cbf20e65578b3d5e71d571d81d561f33a887e2.zip |
Move the set_write_time() call to after get_existing_share_mode_lock() returns with a share mode.
get_existing_share_mode_lock() isn't really the right
call here, as we're being called after
close_remove_share_mode() inside close_normal_file()
so it's quite normal to not have an existing share
mode here. However, get_share_mode_lock() doesn't
work because that will create a new share mode if
one doesn't exist - so stick with this call (just
ignore any error we get if the share mode doesn't
exist.
The previous commit raised the error message debug
level inside get_share_mode_lock_internal() so
we don't always get a level 1 error message if
get_existing_share_mode_lock() fails.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat May 19 06:26:33 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions