[Wine-patches] Revert "server: Close CIFS file descriptors immediately."

Alexander Morozov amorozov на etersoft.ru
Чт Июл 23 17:23:06 MSD 2009


----------- следующая часть -----------
From 1cb96c0ca49df88bf1ffad7ffff983ad0a96acc6 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Thu, 23 Jul 2009 17:17:28 +0400
Subject: [PATCH] Revert "server: Close CIFS file descriptors immediately."

This reverts commit 8dfea212e1bee094d2e705848973936a6931ea0d.
---
 server/fd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index 146e918..9071611 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -1480,6 +1480,8 @@ static void fd_destroy( struct object *obj )
     list_remove( &fd->inode_entry );
     if (fd->poll_index != -1) remove_poll_user( fd, fd->poll_index );
 
+/* disable this hack due fixing http://bugs.etersoft.ru/show_bug.cgi?id=3237 since etercifs 4.3.0 */
+#if 0
     /* special case for file on CIFS - remove in any case */
     if (fd->cifs) {
         if (fd->unix_fd != -1) {
@@ -1487,6 +1489,7 @@ static void fd_destroy( struct object *obj )
             fd->unix_fd = -1;
         }
     }
+#endif
 
     if (fd->inode)
     {
-- 
1.6.3.3



Подробная информация о списке рассылки Wine-patches