diff options
| author | Kent Overstreet <[email protected]> | 2024-10-04 23:44:32 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-10-05 00:25:31 +0000 |
| commit | 6b63a948a73ba3df0fb3ab0c44807df344bc5bbf (patch) | |
| tree | 948bfe2f0429cb65a42f191ceea24e93757c82a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | bcachefs: Fix trans_commit disk accounting revert (diff) | |
| download | kernel-6b63a948a73ba3df0fb3ab0c44807df344bc5bbf.tar.gz kernel-6b63a948a73ba3df0fb3ab0c44807df344bc5bbf.zip | |
bcachefs: Add missing wakeup to bch2_inode_hash_remove()
This fixes two different bugs:
- Looser locking with the rhashtable means we need to recheck if the
inode is still hashed after prepare_to_wait(), and add a corresponding
wakeup after removing from the hash table.
- da18ecbf0fb6 ("fs: add i_state helpers") changed the bit waitqueues
used for inodes, and bcachefs wasn't updated and thus broke; this
updates bcachefs to the new helper.
Fixes: 112d21fd1a12 ("bcachefs: switch to rhashtable for vfs inodes hash")
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
