mirror of https://github.com/dynup/kpatch
12 lines
396 B
Diff
12 lines
396 B
Diff
diff -Nupr src.orig/fs/readdir.c src/fs/readdir.c
|
|
--- src.orig/fs/readdir.c 2021-04-20 11:04:26.675100489 -0400
|
|
+++ src/fs/readdir.c 2021-04-20 11:04:36.984126354 -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))
|