hal/hald/linux/volume_id volume_id.c,1.10,1.11
David Zeuthen
david at pdx.freedesktop.org
Tue Jul 6 10:03:51 PDT 2004
Update of /cvs/hal/hal/hald/linux/volume_id
In directory pdx:/tmp/cvs-serv14095/hald/linux/volume_id
Modified Files:
volume_id.c
Log Message:
2004-07-06 David Zeuthen <david at fubar.dk>
* hald/linux/bus_device.c (bus_device_move_from_tdl_to_gdl): Removed
the wrong handler so on remove this was called and the device was
added to the GDL again. Resulting in the device was never removed.
* hald/linux/class_device.c (class_device_move_from_tdl_to_gdl):
Same as above
Index: volume_id.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/volume_id/volume_id.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- volume_id.c 5 Jul 2004 23:42:20 -0000 1.10
+++ volume_id.c 6 Jul 2004 17:03:48 -0000 1.11
@@ -39,6 +39,7 @@
#include "volume_id.h"
+#define DEBUG
#ifdef DEBUG
#define dbg(format, arg...) \
do { \
@@ -914,12 +915,14 @@
goto found;
descr = (struct hfsplus_bnode_descriptor *) buf;
+ dbg("descriptor type 0x%x", descr->type);
if (descr->type != HFS_NODE_LEAF)
goto found;
key = (struct hfsplus_catalog_key *)
&buf[sizeof(struct hfsplus_bnode_descriptor)];
+ dbg("parent id 0x%x", be32_to_cpu(key->parent_id));
if (be32_to_cpu(key->parent_id) != HFSPLUS_POR_CNID)
goto found;
More information about the hal-commit
mailing list