Reformatting
authorVolker Lendecke <vl@sernet.de>
Sat, 1 Dec 2007 13:57:46 +0000 (14:57 +0100)
committerVolker Lendecke <vl@sernet.de>
Wed, 5 Dec 2007 12:45:11 +0000 (13:45 +0100)
(This used to be commit fb900184feeda37691cf9bd57c029988648de9f8)

source3/smbd/nttrans.c

index 9e6b933b645e3b41a546e7432cf25d168dd5ff25..aed237fc65b1053b9d7d2a04ba5b7edff7f24ccb 100644 (file)
@@ -759,11 +759,12 @@ void reply_ntcreate_and_X(connection_struct *conn,
                return;
        }
 
-       /* This is the correct thing to do (check every time) but can_delete is
-          expensive (it may have to read the parent directory permissions). So
-          for now we're not doing it unless we have a strong hint the client
-          is really going to delete this file. If the client is forcing FILE_CREATE
-          let the filesystem take care of the permissions. */
+       /* This is the correct thing to do (check every time) but can_delete
+        * is expensive (it may have to read the parent directory
+        * permissions). So for now we're not doing it unless we have a strong
+        * hint the client is really going to delete this file. If the client
+        * is forcing FILE_CREATE let the filesystem take care of the
+        * permissions. */
 
        /* Setting FILE_SHARE_DELETE is the hint. */
 
@@ -1505,11 +1506,12 @@ static void call_nt_transact_create(connection_struct *conn,
                return;
        }
 
-       /* This is the correct thing to do (check every time) but can_delete is
-          expensive (it may have to read the parent directory permissions). So
-          for now we're not doing it unless we have a strong hint the client
-          is really going to delete this file. If the client is forcing FILE_CREATE
-          let the filesystem take care of the permissions. */
+       /* This is the correct thing to do (check every time) but can_delete
+        * is expensive (it may have to read the parent directory
+        * permissions). So for now we're not doing it unless we have a strong
+        * hint the client is really going to delete this file. If the client
+        * is forcing FILE_CREATE let the filesystem take care of the
+        * permissions. */
 
        /* Setting FILE_SHARE_DELETE is the hint. */