mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user