kpatch/test/integration/rhel-7.7/fixup-section.patch

13 lines
375 B
Diff
Raw Normal View History

Index: kernel/fs/readdir.c
===================================================================
--- kernel.orig/fs/readdir.c
+++ kernel/fs/readdir.c
@@ -176,6 +176,7 @@ static int filldir(void * __buf, const c
goto efault;
}
dirent = buf->current_dir;
+ asm("nop");
if (__put_user(d_ino, &dirent->d_ino))
goto efault;
if (__put_user(reclen, &dirent->d_reclen))