diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-08 11:19:00 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-09 18:50:32 +0200 |
commit | 72564052b60c2043f520721e45705c40a2381905 (patch) | |
tree | c291f895b2427303ebc010d635063d87aeb0fd5d /source3/smbd | |
parent | 0d77585a4197783ab8b0f8cb854eddd1e9b7941b (diff) | |
download | samba-72564052b60c2043f520721e45705c40a2381905.tar.gz samba-72564052b60c2043f520721e45705c40a2381905.tar.bz2 samba-72564052b60c2043f520721e45705c40a2381905.zip |
s3:smb2_write: pass fsp->fnum to init_strict_lock_struct()
fsp->fnum is the same as in_file_id_volatile.
When we start to support durable handles we should pass
in_file_id_persistent.
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jun 9 18:50:32 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index 0b502a4f48..a149cb84dd 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -341,7 +341,7 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx, /* Fallback to synchronous. */ init_strict_lock_struct(fsp, - in_file_id_volatile, + fsp->fnum, in_offset, in_data.length, WRITE_LOCK, |