diff options
| author | Jeff Layton <[email protected]> | 2025-06-02 11:58:54 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-10 11:16:19 +0000 |
| commit | d209f6e122950d9b6f329f3538b785dd709001e5 (patch) | |
| tree | 61a1b742cd6ca4513d6e4fbc33b9c2e5dda6160d /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | fs/pipe: set FMODE_NOWAIT in create_pipe_files() (diff) | |
| download | kernel-d209f6e122950d9b6f329f3538b785dd709001e5.tar.gz kernel-d209f6e122950d9b6f329f3538b785dd709001e5.zip | |
filelock: add new locks_wake_up_waiter() helper
Currently the function that does this takes a struct file_lock, but
__locks_wake_up_blocks() deals with both locks and leases. Currently
this works because both file_lock and file_lease have the file_lock_core
at the beginning of the struct, but it's fragile to rely on that.
Add a new locks_wake_up_waiter() function and call that from
__locks_wake_up_blocks().
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
