Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mateusz Guzik and committed by
Christian Brauner
18f2e0ea 3c1fc671

+1 -1
+1 -1
fs/namei.c
··· 2141 2141 if (unlikely(!inode)) 2142 2142 return ERR_PTR(-ENOENT); 2143 2143 nd->path.dentry = dentry; 2144 - /* nd->path.mnt is retained on purpose */ 2144 + /* nd->path.mnt remains unchanged as no mount point was crossed */ 2145 2145 nd->inode = inode; 2146 2146 nd->seq = nd->next_seq; 2147 2147 return NULL;