Dave Jones 40b1a0
debug patch for bz 787171/766277
Dave Jones 40b1a0
Dave Jones 40b1a0
diff --git a/fs/dcache.c b/fs/dcache.c
Dave Jones 40b1a0
index bcbdb33..a6a5fdb 100644
Dave Jones 40b1a0
--- a/fs/dcache.c
Dave Jones 40b1a0
+++ b/fs/dcache.c
Dave Jones 40b1a0
@@ -2530,8 +2530,10 @@ global_root:
Dave Jones 40b1a0
 	 */
Dave Jones 40b1a0
 	if (IS_ROOT(dentry) &&
Dave Jones 40b1a0
 	    (dentry->d_name.len != 1 || dentry->d_name.name[0] != '/')) {
Dave Jones 40b1a0
-		WARN(1, "Root dentry has weird name <%.*s>\n",
Dave Jones 40b1a0
-		     (int) dentry->d_name.len, dentry->d_name.name);
Dave Jones 40b1a0
+		WARN(1, "Root dentry has weird name <%.*s>  vfsmnt:%s fs:%s\n",
Dave Jones 40b1a0
+		     (int) dentry->d_name.len, dentry->d_name.name,
Dave Jones 40b1a0
+			vfsmnt->mnt_root->d_name.name,
Dave Jones 40b1a0
+			vfsmnt->mnt_sb->s_type->name);
Dave Jones 40b1a0
 	}
Dave Jones 40b1a0
 	if (!slash)
Dave Jones 40b1a0
 		error = prepend(buffer, buflen, "/", 1);