]> www.infradead.org Git - users/jedix/linux-maple.git/commit
splice: remove duplicate noinline from pipe_clear_nowait
authorT.J. Mercier <tjmercier@google.com>
Wed, 23 Apr 2025 18:00:23 +0000 (18:00 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 25 Apr 2025 10:11:56 +0000 (12:11 +0200)
commite6f141b332ddd9007756751b6afd24f799488fd8
tree74136316578918d1d18c736e9fe5cd78671cb17f
parente079d7c4db5cba1e8a315dc93030dfb6c7b49459
splice: remove duplicate noinline from pipe_clear_nowait

pipe_clear_nowait has two noinline macros, but we only need one.

I checked the whole tree, and this is the only occurrence:

$ grep -r "noinline .* noinline"
fs/splice.c:static noinline void noinline pipe_clear_nowait(struct file *file)
$

Fixes: 0f99fc513ddd ("splice: clear FMODE_NOWAIT on file if splice/vmsplice is used")
Signed-off-by: "T.J. Mercier" <tjmercier@google.com>
Link: https://lore.kernel.org/20250423180025.2627670-1-tjmercier@google.com
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/splice.c