nfs: BUG_ON in nfs_follow_mountpoint
commit44d5759d3fdad660f000ef319f0ec33a6ac6ae28
authorDenis V. Lunev <den@openvz.org>
Mon, 11 Aug 2008 08:02:34 +0000 (11 12:02 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 22:15:16 +0000 (7 18:15 -0400)
tree2d6508f919c21a3f25254567d88606438f339c38
parentc9f6cde6e26ef98ee9c4b6288b126ac9c580d88b
nfs: BUG_ON in nfs_follow_mountpoint

Unfortunately, BUG_ON(IS_ROOT(dentry)) can happen inside
nfs_follow_mountpoint with NFS running Fedora 8 using a
specific setup.
https://bugzilla.redhat.com/show_bug.cgi?id=458622

So, the situation should be handled on NFS client gracefully.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Trond Myklebust <Trond.Myklebust@netapp.com>
CC: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/namespace.c