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)
commitb667b867344301e24f21d4a4c844675ff61d89e1
treeeb01278af88b386a56fee12ced51cb1764d70aaa
parent6718b6f855a0b4962d54bd625be2718cb820cec6
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