pvfs_open: the pvfs_odb_retry structs need to be children of the request
authorStefan Metzmacher <metze@samba.org>
Sat, 15 Mar 2008 11:35:04 +0000 (12:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 15 Mar 2008 11:35:04 +0000 (12:35 +0100)
Otherwise they're not cleaned up when the request is finished.

metze
(This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a)

source4/ntvfs/posix/pvfs_open.c

index 1399f120a7c7e902b3b04f18901bc4824bb97eae..d1cb0eb6034db4fbc89710753f64291d580f9837 100644 (file)
@@ -881,8 +881,6 @@ NTSTATUS pvfs_odb_retry_setup(struct ntvfs_module_context *ntvfs,
 
        talloc_steal(r, wait_handle);
 
 
        talloc_steal(r, wait_handle);
 
-       talloc_steal(pvfs, r);
-
        return NT_STATUS_OK;
 }
 
        return NT_STATUS_OK;
 }