summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock_irix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock_irix.c b/source3/smbd/oplock_irix.c
index fadad54134..518ea7e63c 100644
--- a/source3/smbd/oplock_irix.c
+++ b/source3/smbd/oplock_irix.c
@@ -182,7 +182,7 @@ static files_struct *irix_oplock_receive_message(struct kernel_oplocks *_ctx)
fileid = file_id_create_dev((SMB_DEV_T)os.os_dev,
(SMB_INO_T)os.os_ino);
- if ((fsp = file_find_di_first(fileid)) == NULL) {
+ if ((fsp = file_find_di_first(smbd_server_conn, fileid)) == NULL) {
DEBUG(0,("irix_oplock_receive_message: unable to find open "
"file with dev = %x, inode = %.0f\n",
(unsigned int)os.os_dev, (double)os.os_ino ));