From a1b2d35d18884c4c785dc5ab4978d70a2b9ba864 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Thu, 9 Jun 2011 12:00:25 -0400 Subject: [PATCH] LU-405 Don't assert on multiple disconnected dentries case NFS has a valid case for multiple disconnected dentries on the same inode so we must not assert there as a workaround. The proper fix is to adopt using of d_splice_alias eventually. Change-Id: I28f7385d95523adf949a4e3b8887d79cdc4f2e37 Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/923 Tested-by: Hudson Reviewed-by: Fan Yong Tested-by: Maloo --- lustre/llite/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 9e4898c..ad98239 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -366,7 +366,7 @@ static struct dentry *ll_find_alias(struct inode *inode, struct dentry *de) } if (dentry->d_flags & DCACHE_DISCONNECTED) { - LASSERT(last_discon == NULL); + /* LASSERT(last_discon == NULL); LU-405, bz 20055 */ last_discon = dentry; continue; } -- 1.8.3.1