diff options
author | Daniel Vetter <[email protected]> | 2016-06-21 10:54:21 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-06-21 21:58:29 +0200 |
commit | 0aae5920a84469e2bb6795f53157ea9072faef5a (patch) | |
tree | 8d92f5a56d71a3e1fae2e3e2849923577e33994e /net/unix/sysctl_net_unix.c | |
parent | b3ac9f2591061e4470834028f563ef1fd86098cf (diff) |
drm: Clear up master tracking booleans
- is_master can be removed, we can compute this by checking allowed_master
(which really just tracks whether a master struct has been allocated
for this fpriv in either open or set_master), and whether the fpriv is
the current master on the device.
- that frees up is_master as a good replacement name for allowed_master.
With that it's clear that it tracks whether the fpriv is a master (with
possibly clients attached to it and authenticated against it), and that
one of those fprivs with is_master set is the current master.
v2: Fix kerneldoc for is_master (Emil).
Cc: Chris Wilson <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions