aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2013-10-20 18:55:44 +0200
committerDave Airlie <[email protected]>2013-11-06 14:53:24 +1000
commitf67e946bf215f05be51f5579fcfc164c01b9c4f2 (patch)
treebdca814cfcdb52c7ea3398a09cbcc7b206ae6b74 /tools/perf/util/trace-event-scripting.c
parent865fb47f7f9aa1a1be2ce6a1d37af98f8d4a0d04 (diff)
drm: remove minor-id during unplug
Don't delay minor removal to drm_put_minor(). Otherwise, user-space can still open the minor and cause the kernel to oops. Instead, remove the minor during unplug so any new open() will fail to access this minor. Note that open() and drm_unplug_minor() are both protected by the global DRM mutex so we're fine. Signed-off-by: David Herrmann <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions