r23185: Try to fix the IRIX build, also add the forgotten file_id.c in .26
[nivanova/samba-autobuild/.git] / source3 / smbd / oplock_irix.c
index 1ac0cb4674cb998c324366d713961fbce9c22c74..eb0164ae50e85ae877d86f48c814d4558cbca283 100644 (file)
@@ -140,8 +140,9 @@ static files_struct *irix_oplock_receive_message(fd_set *fds)
         * is the first fsp open with this dev,ino pair.
         */
 
-       if ((fsp = file_find_di_first((SMB_DEV_T)os.os_dev,
-                                     (SMB_INO_T)os.os_ino)) == NULL) {
+       if ((fsp = file_find_di_first(
+                    file_id_create((SMB_DEV_T)os.os_dev,
+                                   (SMB_INO_T)os.os_ino))) == 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 ));