mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
d5207547eba9d8388dc31eb3aeeb39e345f9bcb7
As mentioned in previous gerrit patch 3021442, it is necessary to take a lock before reading dmabuf's refcount and also check for both dmabuf and dmabuf->file. This was not done in trace related code, update the code to take care of this. Also, add a function remove_handle_ref for removing the handle ref from client's handle_ref rb tree. Bug 4404709 Change-Id: Ic93536015f17a265c3dccbea8ce45c6b45af2fc2 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3046839 Reviewed-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Description
No description provided