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

12 lines
396 B
Diff

diff -Nupr src.orig/fs/readdir.c src/fs/readdir.c
--- src.orig/fs/readdir.c 2022-04-29 16:08:21.360780376 -0400
+++ src/fs/readdir.c 2022-04-29 16:08:31.537816593 -0400
@@ -189,6 +189,7 @@ static int filldir(struct dir_context *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))