diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-06-22 20:45:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-06-23 15:53:37 -0400 |
commit | 55142cd0b5ef2a2150d4708dad0c3fd54a3ffd39 (patch) | |
tree | 81397095a23b5432d2ae14ca40d72fb37189bce5 /linux | |
parent | fe1bb39aa52d9140981ba1e96f3c95ddf14006ce (diff) |
Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve iter->should_be_locked
Diffstat (limited to 'linux')
-rw-r--r-- | linux/six.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/six.c b/linux/six.c index c4ae4e0d..fca12087 100644 --- a/linux/six.c +++ b/linux/six.c @@ -142,8 +142,6 @@ static __always_inline bool do_six_trylock_type(struct six_lock *lock, union six_lock_state old, new; bool ret; u64 v; - old.v = 0; - new.v = 0; EBUG_ON(type == SIX_LOCK_write && lock->owner != current); EBUG_ON(type == SIX_LOCK_write && (lock->state.seq & 1)); |