fsnotify: use a mutex instead of a spinlock to protect a groups mark list
[deliverable/linux.git] / include / linux / fsnotify_backend.h
index e76cef75295ddc4dc75b1b5d44d46d2b7db736f6..c5848346840daed5442d278316daa94c12f3d3ac 100644 (file)
@@ -141,7 +141,7 @@ struct fsnotify_group {
        unsigned int priority;
 
        /* stores all fastpath marks assoc with this group so they can be cleaned on unregister */
-       spinlock_t mark_lock;           /* protect marks_list */
+       struct mutex mark_mutex;        /* protect marks_list */
        atomic_t num_marks;             /* 1 for each mark and 1 for not being
                                         * past the point of no return when freeing
                                         * a group */
This page took 0.027125 seconds and 5 git commands to generate.