SEARCH  

NEWS

2010.10.06:11:36:28
OnetVOD: filmy i seriale w pakiecie VODmax
Onet VOD wprowadził pakiet VODmax, który umożliwia nieograniczony dostęp do ponad 200 godzin płatnych materiałów wideo o charakterze premium dostępnych w serwisie: amerykańskich seriali z wytwórni Warner Bros, polskich produkcji, w tym prapremier seriali TVN oraz kilkudziesięciu filmów fabularnych.

 

messageID:566160007435
author:Trond Myklebust
title: PATCH 16 30 nfs BUG ON in nfs follow mount
From: Denis V. Lunev <den@xxxxxxxxxx Unfortunately, BUG_ON(IS_ROOT(dentry)) can happen inside nfs_follow_mountpoint with NFS running Fedora 8 using a specific setup. rel="nofollow" bugzilla.redhat.com/show_bug.cgi?id=458622 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@xxxxxxxxxx CC: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx CC: J. Bruce Fields <bfields@xxxxxxxxxxxx Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx --- fs/nfs/namespace.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index d398775..64a288e 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c @@ -105,7 +105,10 @@ static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) dprintk("-- nfs_follow_mountpoint() "); - BUG_ON(IS_ROOT(dentry)); + err = -ESTALE; + if (IS_ROOT(dentry)) + goto out_err; + dprintk("%s: enter ", __func__); dput(nd- path.dentry); nd- path.dentry = dget(dentry); -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
Index