pkgtemp: double lock

From: Jiri Slaby
Date: Sat Sep 04 2010 - 07:51:32 EST


Hi,

stanse found that you double lock pdev_list_mutex:
-> pkgtemp_device_remove
-> mutex_lock(&pdev_list_mutex);
-> pkgtemp_device_add
-> mutex_lock(&pdev_list_mutex);

Could you fix that?

regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/