vfs: don't BUG_ON() if following a /proc fd pseudo-symlink results in a symlink
[~shefty/rdma-dev.git] / fs / namei.c
index 961bc12..57ae9c8 100644 (file)
@@ -689,8 +689,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)