vfs: don't BUG_ON() if following a /proc fd pseudo-symlink results in a symlink
[profile/ivi/kernel-adaptation-intel-automotive.git] / fs / namei.c
index 43a97ee..ec97aef 100644 (file)
@@ -693,8 +693,6 @@ void nd_jump_link(struct nameidata *nd, struct path *path)
        nd->path = *path;
        nd->inode = nd->path.dentry->d_inode;
        nd->flags |= LOOKUP_JUMPED;
-
-       BUG_ON(nd->inode->i_op->follow_link);
 }
 
 static inline void put_link(struct nameidata *nd, struct path *link, void *cookie)