http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14bb85
)
server: Close CIFS file descriptors immediately.
author
Alexander Morozov
<amorozov@etersoft.ru>
Mon, 20 Jul 2009 11:03:37 +0000
(15:03 +0400)
committer
Vitaly Lipatov
<lav@etersoft.ru>
Mon, 20 Jul 2009 14:07:18 +0000
(18:07 +0400)
server/fd.c
patch
|
blob
|
blame
|
history
diff --git
a/server/fd.c
b/server/fd.c
index cfcc7d896992950f30e81d92c213513a6ada7170..a0c799b94811b333675ef8498c5322e627b2aedf 100644
(file)
--- 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)
{