Add debug patch for bugs 787171/766277
This commit is contained in:
parent
c2a12cd16f
commit
40b1a0c51b
@ -799,6 +799,8 @@ Patch21303: disable-threading-in-compression-for-hibernate.patch
|
||||
|
||||
Patch21400: unhandled-irqs-switch-to-polling.patch
|
||||
|
||||
Patch22000: weird-root-dentry-name-debug.patch
|
||||
|
||||
# compat-wireless patches
|
||||
Patch50000: compat-wireless-config-fixups.patch
|
||||
Patch50001: compat-wireless-pr_fmt-warning-avoidance.patch
|
||||
@ -1524,6 +1526,8 @@ ApplyPatch disable-threading-in-compression-for-hibernate.patch
|
||||
|
||||
ApplyPatch unhandled-irqs-switch-to-polling.patch
|
||||
|
||||
ApplyPatch weird-root-dentry-name-debug.patch
|
||||
|
||||
# END OF PATCH APPLICATIONS
|
||||
|
||||
%endif
|
||||
@ -2428,6 +2432,9 @@ fi
|
||||
# ||----w |
|
||||
# || ||
|
||||
%changelog
|
||||
* Wed Mar 07 2012 Dave Jones <davej@redhat.com>
|
||||
- Add debug patch for bugs 787171/766277
|
||||
|
||||
* Wed Mar 07 2012 Josh Boyer <jwboyer@redhat.com>
|
||||
- Add modsign for x86 builds
|
||||
|
||||
|
19
weird-root-dentry-name-debug.patch
Normal file
19
weird-root-dentry-name-debug.patch
Normal file
@ -0,0 +1,19 @@
|
||||
debug patch for bz 787171/766277
|
||||
|
||||
diff --git a/fs/dcache.c b/fs/dcache.c
|
||||
index bcbdb33..a6a5fdb 100644
|
||||
--- a/fs/dcache.c
|
||||
+++ b/fs/dcache.c
|
||||
@@ -2530,8 +2530,10 @@ global_root:
|
||||
*/
|
||||
if (IS_ROOT(dentry) &&
|
||||
(dentry->d_name.len != 1 || dentry->d_name.name[0] != '/')) {
|
||||
- WARN(1, "Root dentry has weird name <%.*s>\n",
|
||||
- (int) dentry->d_name.len, dentry->d_name.name);
|
||||
+ WARN(1, "Root dentry has weird name <%.*s> vfsmnt:%s fs:%s\n",
|
||||
+ (int) dentry->d_name.len, dentry->d_name.name,
|
||||
+ vfsmnt->mnt_root->d_name.name,
|
||||
+ vfsmnt->mnt_sb->s_type->name);
|
||||
}
|
||||
if (!slash)
|
||||
error = prepend(buffer, buflen, "/", 1);
|
Loading…
Reference in New Issue
Block a user