projects
/
linux-block.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
bcachefs: Refactor memcpy into direct assignment
[linux-block.git]
/
fs
/
bcachefs
/
two_state_shared_lock.c
1
// SPDX-License-Identifier: GPL-2.0
2
3
#include "two_state_shared_lock.h"
4
5
void __bch2_two_state_lock(two_state_lock_t *lock, int s)
6
{
7
__wait_event(lock->wait, bch2_two_state_trylock(lock, s));
8
}