You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NET] sem2mutex: net/
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d4ccd08cdf
commit
4a3e2f711a
+2
-2
@@ -3080,9 +3080,9 @@ static int pfkey_sendmsg(struct kiocb *kiocb,
|
||||
if (!hdr)
|
||||
goto out;
|
||||
|
||||
down(&xfrm_cfg_sem);
|
||||
mutex_lock(&xfrm_cfg_mutex);
|
||||
err = pfkey_process(sk, skb, hdr);
|
||||
up(&xfrm_cfg_sem);
|
||||
mutex_unlock(&xfrm_cfg_mutex);
|
||||
|
||||
out:
|
||||
if (err && hdr && pfkey_error(hdr, err, sk) == 0)
|
||||
|
||||
Reference in New Issue
Block a user