]> git.sesse.net Git - bcachefs-tools-debian/commit
Switch to pthread_mutex_t for spinlocks, too
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 18 Feb 2022 10:58:24 +0000 (05:58 -0500)
committerKent Overstreet <kent.overstreet@gmail.com>
Fri, 18 Feb 2022 10:58:24 +0000 (05:58 -0500)
commitcc1a99fb7466d767b606fe459f4d5db535e9ceee
tree543f75a2cbf4ab3577458126dd9650441f700461
parenta1e928af839fc088121bf6934d5f6cd493af7611
Switch to pthread_mutex_t for spinlocks, too

This fixes an observed journal deadlock - real spinlocks aren't safe in
userspace.
include/linux/spinlock.h