From bd750a77c086da01a389f567b99cdbb7bf2bd7d9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jul 2007 09:04:28 +0000 Subject: 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) --- source4/ntvfs/ipc/vfs_ipc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/ntvfs/ipc') 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; } -- cgit