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.

vfs: don't BUG_ON() if following a /proc fd pseudo-symlink results in a symlink

It's "normal" - it can happen if the file descriptor you followed was
opened with O_NOFOLLOW.

Reported-by: Dave Jones <davej@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

-2
-2
fs/namei.c
··· 689 689 nd->path = *path; 690 690 nd->inode = nd->path.dentry->d_inode; 691 691 nd->flags |= LOOKUP_JUMPED; 692 - 693 - BUG_ON(nd->inode->i_op->follow_link); 694 692 } 695 693 696 694 static inline void put_link(struct nameidata *nd, struct path *link, void *cookie)