* [PATCH] splice: remove duplicate noinline from pipe_clear_nowait
@ 2025-04-23 18:00 T.J. Mercier
2025-04-23 20:10 ` Jens Axboe
2025-04-24 9:02 ` Christian Brauner
0 siblings, 2 replies; 3+ messages in thread
From: T.J. Mercier @ 2025-04-23 18:00 UTC (permalink / raw)
To: Alexander Viro, Christian Brauner, Jan Kara, Jens Axboe
Cc: T.J. Mercier, linux-fsdevel, linux-kernel
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>
---
fs/splice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/splice.c b/fs/splice.c
index 90d464241f15..4d6df083e0c0 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -45,7 +45,7 @@
* here if set to avoid blocking other users of this pipe if splice is
* being done on it.
*/
-static noinline void noinline pipe_clear_nowait(struct file *file)
+static noinline void pipe_clear_nowait(struct file *file)
{
fmode_t fmode = READ_ONCE(file->f_mode);
base-commit: 9d7a0577c9db35c4cc52db90bc415ea248446472
--
2.49.0.805.g082f7c87e0-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] splice: remove duplicate noinline from pipe_clear_nowait
2025-04-23 18:00 [PATCH] splice: remove duplicate noinline from pipe_clear_nowait T.J. Mercier
@ 2025-04-23 20:10 ` Jens Axboe
2025-04-24 9:02 ` Christian Brauner
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2025-04-23 20:10 UTC (permalink / raw)
To: T.J. Mercier, Alexander Viro, Christian Brauner, Jan Kara
Cc: linux-fsdevel, linux-kernel
On 4/23/25 12:00 PM, T.J. Mercier wrote:
> 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)
> $
Funky! Obivously looks fine:
Reviewed-by: Jens Axboe <axboe@kernel.dk>
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] splice: remove duplicate noinline from pipe_clear_nowait
2025-04-23 18:00 [PATCH] splice: remove duplicate noinline from pipe_clear_nowait T.J. Mercier
2025-04-23 20:10 ` Jens Axboe
@ 2025-04-24 9:02 ` Christian Brauner
1 sibling, 0 replies; 3+ messages in thread
From: Christian Brauner @ 2025-04-24 9:02 UTC (permalink / raw)
To: T.J. Mercier
Cc: Christian Brauner, linux-fsdevel, linux-kernel, Alexander Viro,
Jan Kara, Jens Axboe
On Wed, 23 Apr 2025 18:00:23 +0000, T.J. Mercier wrote:
> 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)
> $
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes
[1/1] splice: remove duplicate noinline from pipe_clear_nowait
https://git.kernel.org/vfs/vfs/c/894399bf728a
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-24 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 18:00 [PATCH] splice: remove duplicate noinline from pipe_clear_nowait T.J. Mercier
2025-04-23 20:10 ` Jens Axboe
2025-04-24 9:02 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).