mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
fs: write a better comment in step_into() concerning .mnt assignment
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://patch.msgid.link/20260328175841.3390950-1-mjguzik@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner
parent
3c1fc671d3
commit
18f2e0ea20
@@ -2141,7 +2141,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;
|
||||
|
||||
Reference in New Issue
Block a user