Skip to content
Snippets Groups Projects
Commit 6b63a948 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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.

- da18ecbf ("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: 112d21fd ("bcachefs: switch to rhashtable for vfs inodes hash")
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d2878660
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment