svn commit: samba r5649 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Thu Mar 3 17:58:47 GMT 2005


Author: jra
Date: 2005-03-03 17:58:47 +0000 (Thu, 03 Mar 2005)
New Revision: 5649

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

Log:
Fix broken build (checkin by mistake). Sorry Volker.
Jeremy.

Modified:
   trunk/source/smbd/nttrans.c


Changeset:
Modified: trunk/source/smbd/nttrans.c
===================================================================
--- trunk/source/smbd/nttrans.c	2005-03-03 16:53:19 UTC (rev 5648)
+++ trunk/source/smbd/nttrans.c	2005-03-03 17:58:47 UTC (rev 5649)
@@ -808,8 +808,7 @@
 	 * If it's a request for a directory open, deal with it separately.
 	 */
 
-	if((create_options & FILE_DIRECTORY_FILE)||
-			(IS_VALID_STAT(&sbuf) && S_ISDIR(sbuf.st_mode))) {
+	if(create_options & FILE_DIRECTORY_FILE) {
 		oplock_request = 0;
 		
 		/* Can't open a temp directory. IFS kit test. */
@@ -1369,8 +1368,7 @@
 	 * If it's a request for a directory open, deal with it separately.
 	 */
 
-	if((create_options & FILE_DIRECTORY_FILE)||
-			(IS_VALID_STAT(&sbuf) && S_ISDIR(sbuf.st_mode))) {
+	if(create_options & FILE_DIRECTORY_FILE) {
 
 		/* Can't open a temp directory. IFS kit test. */
 		if (file_attributes & FILE_ATTRIBUTE_TEMPORARY) {



More information about the samba-cvs mailing list