diff options
Diffstat (limited to 'libbcachefs/six.c')
-rw-r--r-- | libbcachefs/six.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/six.c b/libbcachefs/six.c index b3583c50..617d07e5 100644 --- a/libbcachefs/six.c +++ b/libbcachefs/six.c @@ -341,7 +341,7 @@ static inline bool six_owner_running(struct six_lock *lock) */ rcu_read_lock(); struct task_struct *owner = READ_ONCE(lock->owner); - bool ret = owner ? owner_on_cpu(owner) : !rt_task(current); + bool ret = owner ? owner_on_cpu(owner) : !rt_or_dl_task(current); rcu_read_unlock(); return ret; |