diff options
author | Daniel Vetter <[email protected]> | 2016-06-17 09:33:20 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-06-20 22:02:01 +0200 |
commit | a77316bf24f4a86482397707997ff7c951caca56 (patch) | |
tree | 5d2bc3b37cf022cddd7d9abe9f43cd9a8fb85770 /lib/netdev-notifier-error-inject.c | |
parent | 0de4cc99c66d2a46e92cd201f7939121d9a1bb23 (diff) |
drm: Move authmagic cleanup into drm_master_release
It's related, and soon authmagic will also use the master_mutex.
There is an ever-so-slightly semantic change here:
- authmagic will only be cleaned up for primary_client drm_minors. But
it's impossible to create authmagic on render/control nodes, so this
is fine.
- The cleanup is moved down a bit in the release processing. Doesn't
matter at all since authmagic is purely internal logic used by the
core ioctl access checks, and when we're in a file's release
callback no one can do ioctls any more.
v2: Rebased.
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]> (v1)
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions