fs/pipe: move check to pipe_has_watch_queue()
[ Upstream commit b4bd6b4b ] This declutters the code by reducing the number of #ifdefs and makes the watch_queue checks simpler. This has no runtime effect; the machine code is identical. Signed-off-by:Max Kellermann <max.kellermann@ionos.com> Message-Id: <20230921075755.1378787-2-max.kellermann@ionos.com> Reviewed-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Christian Brauner <brauner@kernel.org> Stable-dep-of: e95aada4 ("pipe: wakeup wr_wait after setting max_usage") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment