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
|
Patch21400: unhandled-irqs-switch-to-polling.patch
|
||||||
|
|
||||||
|
Patch22000: weird-root-dentry-name-debug.patch
|
||||||
|
|
||||||
# compat-wireless patches
|
# compat-wireless patches
|
||||||
Patch50000: compat-wireless-config-fixups.patch
|
Patch50000: compat-wireless-config-fixups.patch
|
||||||
Patch50001: compat-wireless-pr_fmt-warning-avoidance.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 unhandled-irqs-switch-to-polling.patch
|
||||||
|
|
||||||
|
ApplyPatch weird-root-dentry-name-debug.patch
|
||||||
|
|
||||||
# END OF PATCH APPLICATIONS
|
# END OF PATCH APPLICATIONS
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
@ -2428,6 +2432,9 @@ fi
|
|||||||
# ||----w |
|
# ||----w |
|
||||||
# || ||
|
# || ||
|
||||||
%changelog
|
%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>
|
* Wed Mar 07 2012 Josh Boyer <jwboyer@redhat.com>
|
||||||
- Add modsign for x86 builds
|
- 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