Author: vlendec
Date: 2005-08-24 08:56:28 +0000 (Wed, 24 Aug 2005)
New Revision: 9570

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9570

Log:
open_mode_check does not look at oplocks anymore
Modified:
   trunk/source/smbd/open.c


Changeset:
Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c    2005-08-24 08:33:56 UTC (rev 9569)
+++ trunk/source/smbd/open.c    2005-08-24 08:56:28 UTC (rev 9570)
@@ -534,7 +534,6 @@
                                uint32 access_mask,
                                uint32 share_access,
                                uint32 create_options,
-                               int *p_oplock_request,
                                BOOL *file_existed)
 {
        int i;
@@ -1374,8 +1373,7 @@
 
                status = open_mode_check(conn, fname, dev, inode,
                                         access_mask, share_access,
-                                        create_options, &oplock_request,
-                                        &file_existed);
+                                        create_options, &file_existed);
 
                if (NT_STATUS_EQUAL(status, NT_STATUS_DELETE_PENDING)) {
                        /* DELETE_PENDING is not deferred for a second */
@@ -1530,8 +1528,7 @@
 
                status = open_mode_check(conn, fname, dev, inode,
                                         access_mask, share_access,
-                                        create_options, &oplock_request,
-                                        &file_existed);
+                                        create_options, &file_existed);
 
                if (NT_STATUS_EQUAL(status, NT_STATUS_DELETE_PENDING)) {
                        set_saved_ntstatus(status);

Reply via email to