Displaying 1 result from an estimated 1 matches for "c70c943".
Did you mean:
c270c940
2011 Oct 30
1
[PATCH] drm: serialize access to debugs_nodes.list
..._info_node, list);
@@ -204,6 +208,7 @@ int drm_debugfs_remove_files(struct drm_info_list *files, int count,
}
}
}
+ mutex_unlock(&minor->debugfs_nodes.mutex);
return 0;
}
EXPORT_SYMBOL(drm_debugfs_remove_files);
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 9b7c2bb..c70c943 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -970,6 +970,7 @@ struct drm_info_list {
* debugfs node structure. This structure represents a debugfs file.
*/
struct drm_info_node {
+ struct mutex mutex;
struct list_head list;
struct drm_minor *minor;
struct drm_info_list *in...