summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-30 09:04:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:22 -0500
commitbd750a77c086da01a389f567b99cdbb7bf2bd7d9 (patch)
tree56bf2f66c01246bd6fe3f2fede527e4385c163cf
parent649d4bf8aa1e957d6a059dd265d5c9b313a43f15 (diff)
downloadsamba-bd750a77c086da01a389f567b99cdbb7bf2bd7d9.tar.gz
samba-bd750a77c086da01a389f567b99cdbb7bf2bd7d9.tar.bz2
samba-bd750a77c086da01a389f567b99cdbb7bf2bd7d9.zip
r24075: 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 (This used to be commit efaf91b9d53c1d9b882c53e069e8e7c15394e0f3)
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index aeb99e50b0..fbac82a305 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -174,6 +174,7 @@ static NTSTATUS ipc_setpathinfo(struct ntvfs_module_context *ntvfs,
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;
}