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