Commit ecf8a74d authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: kill INODE_LOCK, use lock_two_nondirectories()



In an ideal world, we'd have a common helper that could be used for
sorting a list of inodes into the correct lock order, and then the same
lock ordering could be used for any type of inode lock, not just
i_rwsem.

But the lock ordering rules for i_rwsem are a bit complicated, so -
abandon that dream for now and do it the more standard way.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8b58623f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment