Add debug patch for bugs 787171/766277
This commit is contained in:
parent
761d970eca
commit
fcf71737a1
|
@ -736,6 +736,8 @@ Patch21109: mm-memcg-Correct-unregistring-of-events-attached-to-.patch
|
|||
|
||||
Patch21200: unhandled-irqs-switch-to-polling.patch
|
||||
|
||||
Patch22000: weird-root-dentry-name-debug.patch
|
||||
|
||||
%endif
|
||||
|
||||
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
|
||||
|
@ -1357,6 +1359,8 @@ ApplyPatch regset-Return-EFAULT-not-EIO-on-host-side-memory-fau.patch
|
|||
|
||||
ApplyPatch unhandled-irqs-switch-to-polling.patch
|
||||
|
||||
ApplyPatch weird-root-dentry-name-debug.patch
|
||||
|
||||
#rhbz 786632
|
||||
ApplyPatch mm-thp-fix-BUG-on-mm-nr_ptes.patch
|
||||
|
||||
|
@ -2010,6 +2014,9 @@ fi
|
|||
# and build.
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2012 Dave Jones <davej@redhat.com>
|
||||
- Add debug patch for bugs 787171/766277
|
||||
|
||||
* Wed Mar 07 2012 Josh Boye <jwboyer@redhat.com>
|
||||
- CVE-2012-1146: memcg: unregister events attached to the same eventfd can
|
||||
oops (rhbz 800817)
|
||||
|
|
|
@ -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