mirror of
https://github.com/dynup/kpatch
synced 2025-01-26 06:42:50 +00:00
76ebcd2fa4
This commit contains centos-7 patches rebased and adjusted to work with recent rhel minors so that integration tests actually pass on those. Signed-off-by: Artem Savkov <asavkov@redhat.com>
13 lines
384 B
Diff
13 lines
384 B
Diff
diff --git a/fs/readdir.c b/fs/readdir.c
|
|
index fee38e04fae4..bce1e5ce74e5 100644
|
|
--- a/fs/readdir.c
|
|
+++ b/fs/readdir.c
|
|
@@ -166,6 +166,7 @@ static int filldir(void * __buf, const char * name, int namlen, loff_t offset,
|
|
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))
|