rhashtable: Fix race in rhashtable_destroy() and use regular work_struct
[linux-2.6-block.git] / include / linux / rhashtable.h
index 9570832ab07cbf633c409abdf7f1bc2ef5be5d4f..a2562ed53ea3eed8b7632a72f41872b30336aae1 100644 (file)
@@ -119,7 +119,7 @@ struct rhashtable {
        atomic_t                        nelems;
        atomic_t                        shift;
        struct rhashtable_params        p;
-       struct delayed_work             run_work;
+       struct work_struct              run_work;
        struct mutex                    mutex;
        bool                            being_destroyed;
 };