Author: abartlet
Date: 2007-07-30 09:04:28 +0000 (Mon, 30 Jul 2007)
New Revision: 24075

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

Log:
As suggested by metze, match the behaviour of ntvfs_posix, and remove
the backend data (effectivly closing the handle) when we close an IPC
FD.

This should fix #4821. 

Andrew Bartlett 

Modified:
   branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c       2007-07-30 08:58:39 UTC 
(rev 24074)
+++ branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c       2007-07-30 09:04:28 UTC 
(rev 24075)
@@ -174,6 +174,7 @@
 static int ipc_fd_destructor(struct pipe_state *p)
 {
        DLIST_REMOVE(p->private->pipe_list, p);
+       ntvfs_handle_remove_backend_data(p->handle, p->private->ntvfs);
        return 0;
 }
 

Reply via email to