* [PATCH] fs: write a better comment in step_into() concerning .mnt assignment
@ 2026-03-28 17:58 Mateusz Guzik
2026-03-30 8:49 ` Jan Kara
2026-03-31 9:43 ` Christian Brauner
0 siblings, 2 replies; 3+ messages in thread
From: Mateusz Guzik @ 2026-03-28 17:58 UTC (permalink / raw)
To: brauner; +Cc: viro, jack, linux-kernel, linux-fsdevel, Mateusz Guzik
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
---
fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c
index 2113958c3b7a..c7fac83c9a85 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2140,7 +2140,7 @@ static __always_inline const char *step_into(struct nameidata *nd, int flags,
if (unlikely(!inode))
return ERR_PTR(-ENOENT);
nd->path.dentry = dentry;
- /* nd->path.mnt is retained on purpose */
+ /* nd->path.mnt remains unchanged as no mount point was crossed */
nd->inode = inode;
nd->seq = nd->next_seq;
return NULL;
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fs: write a better comment in step_into() concerning .mnt assignment
2026-03-28 17:58 [PATCH] fs: write a better comment in step_into() concerning .mnt assignment Mateusz Guzik
@ 2026-03-30 8:49 ` Jan Kara
2026-03-31 9:43 ` Christian Brauner
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kara @ 2026-03-30 8:49 UTC (permalink / raw)
To: Mateusz Guzik; +Cc: brauner, viro, jack, linux-kernel, linux-fsdevel
On Sat 28-03-26 18:58:40, Mateusz Guzik wrote:
> Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Nice. Feel free to add:
Reviewed-by: Jan Kara <jack@suse.cz>
Honza
> ---
> fs/namei.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/namei.c b/fs/namei.c
> index 2113958c3b7a..c7fac83c9a85 100644
> --- a/fs/namei.c
> +++ b/fs/namei.c
> @@ -2140,7 +2140,7 @@ static __always_inline const char *step_into(struct nameidata *nd, int flags,
> if (unlikely(!inode))
> return ERR_PTR(-ENOENT);
> nd->path.dentry = dentry;
> - /* nd->path.mnt is retained on purpose */
> + /* nd->path.mnt remains unchanged as no mount point was crossed */
> nd->inode = inode;
> nd->seq = nd->next_seq;
> return NULL;
> --
> 2.48.1
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fs: write a better comment in step_into() concerning .mnt assignment
2026-03-28 17:58 [PATCH] fs: write a better comment in step_into() concerning .mnt assignment Mateusz Guzik
2026-03-30 8:49 ` Jan Kara
@ 2026-03-31 9:43 ` Christian Brauner
1 sibling, 0 replies; 3+ messages in thread
From: Christian Brauner @ 2026-03-31 9:43 UTC (permalink / raw)
To: Mateusz Guzik; +Cc: Christian Brauner, viro, jack, linux-kernel, linux-fsdevel
On Sat, 28 Mar 2026 18:58:40 +0100, Mateusz Guzik wrote:
>
Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.misc 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-7.1.misc
[1/1] fs: write a better comment in step_into() concerning .mnt assignment
https://git.kernel.org/vfs/vfs/c/18f2e0ea200c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-31 9:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-28 17:58 [PATCH] fs: write a better comment in step_into() concerning .mnt assignment Mateusz Guzik
2026-03-30 8:49 ` Jan Kara
2026-03-31 9:43 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®