Skip to content
Commit 6f5c4aad authored by Max Kellermann's avatar Max Kellermann Committed by Greg Kroah-Hartman
Browse files

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: default avatarMax Kellermann <max.kellermann@ionos.com>
Message-Id: <20230921075755.1378787-2-max.kellermann@ionos.com>
Reviewed-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Stable-dep-of: e95aada4

 ("pipe: wakeup wr_wait after setting max_usage")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 28f010dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment