]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge patch series "pipe: Trivial cleanups"
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Mar 2025 07:55:13 +0000 (08:55 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Mar 2025 07:55:13 +0000 (08:55 +0100)
commit3732d8f16531ddc591622bc64ce4d4c160c34bb4
tree0ff92a93a6c803143bbcfed937eeb522cbffca30
parent38962d9b15ce3d50f5c61dc441b7c53f4e0d2e33
parentd5c6cb01b69c0a25f7a652627d217120fb6cad0d
Merge patch series "pipe: Trivial cleanups"

K Prateek Nayak <kprateek.nayak@amd.com> says:

Based on the suggestion on the RFC, the treewide conversion of
references to pipe->{head,tail} from unsigned int to pipe_index_t has
been dropped for now. The series contains trivial cleanup suggested to
limit the nr_slots in pipe_resize_ring() to be covered between
pipe_index_t limits of pipe->{head,tail} and using pipe_buf() to remove
the open-coded usage of masks to access pipe buffer building on Linus'
cleanup of fs/fuse/dev.c in commit ebb0f38bb47f ("fs/pipe: fix pipe
buffer index use in FUSE")

* patches from https://lore.kernel.org/r/20250307052919.34542-1-kprateek.nayak@amd.com:
  fs/splice: Use pipe_buf() helper to retrieve pipe buffer
  fs/pipe: Use pipe_buf() helper to retrieve pipe buffer
  kernel/watch_queue: Use pipe_buf() to retrieve the pipe buffer
  fs/pipe: Limit the slots in pipe_resize_ring()

Link: https://lore.kernel.org/r/20250307052919.34542-1-kprateek.nayak@amd.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/pipe.c