diff options
author | Zack Kirsch <zack.kirsch@isilon.com> | 2009-02-18 20:39:20 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-02-18 20:50:05 -0800 |
commit | 053e1873c5dd30e7bb3102692ba79e280034c392 (patch) | |
tree | be2b0876ef9f4d90868cf9bc0af3d299f377179d /source3/modules/onefs_cbrl.c | |
parent | 176e8857203944bc332844b700749120ce90c891 (diff) | |
download | samba-053e1873c5dd30e7bb3102692ba79e280034c392.tar.gz samba-053e1873c5dd30e7bb3102692ba79e280034c392.tar.xz samba-053e1873c5dd30e7bb3102692ba79e280034c392.zip |
s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.
Diffstat (limited to 'source3/modules/onefs_cbrl.c')
-rw-r--r-- | source3/modules/onefs_cbrl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/modules/onefs_cbrl.c b/source3/modules/onefs_cbrl.c index 539b1a7d49..a860023764 100644 --- a/source3/modules/onefs_cbrl.c +++ b/source3/modules/onefs_cbrl.c @@ -318,7 +318,8 @@ NTSTATUS onefs_brl_lock_windows(vfs_handle_struct *handle, DEBUG(10, ("Calling ifs_cbrl(LOCK)...")); error = ifs_cbrl(fd, CBRL_OP_LOCK, exclusive, plock->start, - plock->size, async, id, plock->context.smbpid, plock->context.tid); + plock->size, async, id, plock->context.smbpid, plock->context.tid, + plock->fnum); if (!error) { goto success; } else if (errno == EWOULDBLOCK) { @@ -376,7 +377,7 @@ bool onefs_brl_unlock_windows(vfs_handle_struct *handle, DEBUG(10, ("Calling ifs_cbrl(UNLOCK)...")); error = ifs_cbrl(fd, CBRL_OP_UNLOCK, CBRL_NOTYPE, plock->start, plock->size, CBRL_NOTYPE, 0, plock->context.smbpid, - plock->context.tid); + plock->context.tid, plock->fnum); if (error) { DEBUG(10, ("returning false.\n")); return false; @@ -425,7 +426,7 @@ bool onefs_brl_cancel_windows(vfs_handle_struct *handle, DEBUG(10, ("Calling ifs_cbrl(CANCEL)...")); error = ifs_cbrl(fd, CBRL_OP_CANCEL, CBRL_NOTYPE, plock->start, plock->size, CBRL_NOTYPE, bs->id, plock->context.smbpid, - plock->context.tid); + plock->context.tid, plock->fnum); if (error) { DEBUG(10, ("returning false\n")); bs->state = ONEFS_CBRL_ERROR; |