summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-02-04 01:49:03 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-02-04 01:54:14 -0500
commitde9413c0902ad902d2c3600b8cda21df0203cb0c (patch)
treea7478aae47cdeebef2481e8a54d0b980291faf42
parent90e57ac5f03c697d1a788a16d4a7d62f68c4f1c9 (diff)
bcachefs: fix a lockdep thing
-rw-r--r--fs/bcachefs/six.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c
index 5cd43ef5055c..f0ff8d41923c 100644
--- a/fs/bcachefs/six.c
+++ b/fs/bcachefs/six.c
@@ -318,7 +318,7 @@ static void __six_lock_type(struct six_lock *lock, enum six_lock_type type)
{
six_acquire(&lock->dep_map, 0);
- if (!__six_trylock_type(lock, type))
+ if (!do_six_trylock_type(lock, type))
__six_lock_type_slowpath(lock, type);
lock_acquired(&lock->dep_map, _RET_IP_);