Do not required since etercifs 4.3.8
authorVitaly Lipatov <lav@etersoft.ru>
Mon, 27 Jul 2009 16:05:13 +0000 (20:05 +0400)
committerVitaly Lipatov <lav@etersoft.ru>
Mon, 27 Jul 2009 16:05:13 +0000 (20:05 +0400)
Revert "Revert "server: Close CIFS file descriptors immediately.""

This reverts commit ef8cc137cfed0037a3fc65c54b0c5237a15f0cda.

server/fd.c

index 427aa2b5877d5d7ae4135b201cd3bf395b047ad1..b5eb2cea7a693d36b14ffab560ff94a5f3b1185c 100644 (file)
@@ -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)
     {