diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 10:32:44 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-12-03 15:55:19 +0000 |
commit | 39146d6f866888beefaecba3115576c10e1033aa (patch) | |
tree | 457041f7ac5f1285f3ca2c844c344177c96a8879 /drivers/gpu/drm/bochs | |
parent | 8d6185b55ceadea4fe3d7b451843786c4cae564e (diff) | |
download | lwn-39146d6f866888beefaecba3115576c10e1033aa.tar.gz lwn-39146d6f866888beefaecba3115576c10e1033aa.zip |
drm/armada: don't grab dev->struct_mutex for in mmap offset ioctl
Since David Herrmann's mmap vma manager rework we don't need to grab
dev->struct_mutex any more to prevent races when looking up the mmap
offset. Drop it and instead don't forget to use the unref_unlocked
variant (since the drm core still cares).
v2: Split out the leak fix in dump_map_offset into a separate patch as
requested by Russell. Also align labels the same way as before to
stick with local coding style.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/bochs')
0 files changed, 0 insertions, 0 deletions