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

bcachefs: seqmutex; fix a lockdep splat



We can't be holding btree_trans_lock while copying to user space, which
might incur a page fault. To fix this, convert it to a seqmutex so we
can unlock/relock.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 6547ebab
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