aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2024-03-17 18:41:50 +0000
committerJan Kara <[email protected]>2024-04-04 14:24:16 +0000
commitc9d4603b054f9a63c07c7012040af4c80adb2c60 (patch)
treed5e680ee1e1ee8b5ec51a0ae5675dbd44ccda5f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentfsnotify: pass object pointer and type to fsnotify mark helpers (diff)
downloadkernel-c9d4603b054f9a63c07c7012040af4c80adb2c60.tar.gz
kernel-c9d4603b054f9a63c07c7012040af4c80adb2c60.zip
fsnotify: create helper fsnotify_update_sb_watchers()
We would like to count watched objects by priority group, so we will need to update the watched object counter after adding/removing marks. Create a helper fsnotify_update_sb_watchers() and call it after attaching/detaching a mark, instead of fsnotify_{get,put}_sb_watchers() only after attaching/detaching a connector. Soon, we will use this helper to count watched objects by the highest watching priority group. Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]> Message-Id: <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions