]> git.baikalelectronics.ru Git - kernel.git/commit
pipe: Advance tail pointer inside of wait spinlock in pipe_read()
authorDavid Howells <dhowells@redhat.com>
Tue, 24 Sep 2019 15:09:04 +0000 (16:09 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 15 Nov 2019 16:22:54 +0000 (16:22 +0000)
commitdd4806109912ac13ddeb98046bcb10dded390ad8
treeeb01278af88b386a56fee12ced51cb1764d70aaa
parentfc52cc6916359cf118afdc46099741391ba183c6
pipe: Advance tail pointer inside of wait spinlock in pipe_read()

Advance the pipe ring tail pointer inside of wait spinlock in pipe_read()
so that the pipe can be written into with kernel notifications from
contexts where pipe->mutex cannot be taken.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/pipe.c