fs: write a better comment in step_into() concerning .mnt assignment
PATCH 1/1 fs: write a better comment in step_into() concerning .mnt assignment
Signed-off-by Mateusz Guzik <[email protected]>
--- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/namei.c +1 -1
@@ -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 ;
Signature · 1 line
2.48.1
Quoted 1 line · Mateusz Guzik
Signed-off-by Mateusz Guzik <[email protected]>
Nice. Feel free to add:
Reviewed-by Jan Kara <[email protected]>
Honza
Quoted 20 lines
--- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/namei.c +1
-1@@ -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 ;Signature · 1 line
2.48.1
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 1 line · Mateusz Guzik
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