diff options
author | 2025-03-04 00:04:07 +0100 | |
---|---|---|
committer | 2025-03-04 09:46:06 +0100 | |
commit | a40cd5849dab4906f54f27e28561bd9298455bcf (patch) | |
tree | c81453db00b59765c2cec22409bd6e9150fb5cd0 /fs/pidfs.c | |
parent | pipe: change pipe_write() to never add a zero-sized buffer (diff) | |
download | wireguard-linux-a40cd5849dab4906f54f27e28561bd9298455bcf.tar.xz wireguard-linux-a40cd5849dab4906f54f27e28561bd9298455bcf.zip |
pipe: drop an always true check in anon_pipe_write()
The check operates on the stale value of 'head' and always loops back.
Just do it unconditionally. No functional changes.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250303230409.452687-2-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/pidfs.c')
0 files changed, 0 insertions, 0 deletions