diff options
author | Volker Lendecke <vl@samba.org> | 2012-01-10 13:56:37 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-01-12 23:59:22 +0100 |
commit | cfebba96bdab2097b6115f10b649ec6c23c72519 (patch) | |
tree | 3ae01b915dd1d915f2f5a06f84480a756479203b /source3/smbd/reply.c | |
parent | 9cf6d735d43f6f905b19f52d38c93aa30092333d (diff) | |
download | samba-cfebba96bdab2097b6115f10b649ec6c23c72519.tar.gz samba-cfebba96bdab2097b6115f10b649ec6c23c72519.tar.bz2 samba-cfebba96bdab2097b6115f10b649ec6c23c72519.zip |
s3: Put an indirection layer into share_mode_lock
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index b8da33549c..5b0f7cf6c8 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5855,7 +5855,7 @@ static void rename_open_files(connection_struct *conn, NTSTATUS status; uint32_t new_name_hash = 0; - for(fsp = file_find_di_first(conn->sconn, lck->id); fsp; + for(fsp = file_find_di_first(conn->sconn, lck->data->id); fsp; fsp = file_find_di_next(fsp)) { /* fsp_name is a relative path under the fsp. To change this for other sharepaths we need to manipulate relative paths. */ @@ -5881,7 +5881,7 @@ static void rename_open_files(connection_struct *conn, if (!did_rename) { DEBUG(10, ("rename_open_files: no open files on file_id %s " - "for %s\n", file_id_string_tos(&lck->id), + "for %s\n", file_id_string_tos(&lck->data->id), smb_fname_str_dbg(smb_fname_dst))); } |