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

Alexander Morozov amorozov на etersoft.ru
Пн Июл 20 15:06:46 MSD 2009


----------- следующая часть -----------
From be0187b3e3e447f8e996a4b882803aaba1f389e5 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 20 Jul 2009 15:03:37 +0400
Subject: [PATCH] server: Close CIFS file descriptors immediately.

---
 server/fd.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index 0581c55..8126a74 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -1480,8 +1480,6 @@ 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) {
@@ -1489,7 +1487,6 @@ static void fd_destroy( struct object *obj )
             fd->unix_fd = -1;
         }
     }
-#endif
 
     if (fd->inode)
     {
-- 
1.6.3.3



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