diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-06-30 02:56:31 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-06-30 02:56:31 +0200 |
commit | 25e2524f2bc6c90dbaad93fe63aec18c1f73fb5f (patch) | |
tree | 3bacba2eee516a72fbf2815d3db999fa1952c262 | |
parent | 36524df36189e8c4f18501362f9e55ce3c55b421 (diff) |
Revert "Call device_close on store closure"
This reverts commit 1bb5a381a2e2f345beb1ca8d019b6174b13bb125.
storeio can actually pass the device port to other processes, through
file_get_storage_info for instance, these may then want to use it, even after
storeio has closed its port.
-rw-r--r-- | libstore/device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libstore/device.c b/libstore/device.c index bbb2fe9e..3a72df48 100644 --- a/libstore/device.c +++ b/libstore/device.c @@ -119,7 +119,6 @@ dopen (const char *name, device_t *device, int *mod_flags) static void dclose (struct store *store) { - device_close (store->port); mach_port_deallocate (mach_task_self (), store->port); store->port = MACH_PORT_NULL; } |