]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: don't BUG_ON() if following a /proc fd pseudo-symlink results in a symlink
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2013 17:03:07 +0000 (09:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2013 17:03:07 +0000 (09:03 -0800)
commit716a3cf073e700d6c46e3e1cfb3e7e78d0163e60
treec44ffe65534057860a73226d28dac1d4e6ea9ac7
parent350d223b44a714348b2838f506d5efd8627f4121
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>
fs/namei.c