]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kernel/watch_queue: Use pipe_buf() to retrieve the pipe buffer
authorK Prateek Nayak <kprateek.nayak@amd.com>
Fri, 7 Mar 2025 05:29:17 +0000 (05:29 +0000)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Mar 2025 07:55:05 +0000 (08:55 +0100)
commit547476063e123e73fc3aea8432104ab092ffea84
treedbcc7a64e6988a3e8865e4dc3743073a05eb6640
parentcf3d0c54b21c4a351d4f94cf188e9715dbd1ef5b
kernel/watch_queue: Use pipe_buf() to retrieve the pipe buffer

Use pipe_buf() helper to retrieve the pipe buffer in
post_one_notification() replacing the open-coded the logic.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20250307052919.34542-3-kprateek.nayak@amd.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/watch_queue.c