mirror of
https://github.com/dynup/kpatch
synced 2025-01-24 05:42:48 +00:00
2f8170e962
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
13 lines
475 B
Diff
13 lines
475 B
Diff
diff -Nupr src.orig/fs/readdir.c src/fs/readdir.c
|
|
--- src.orig/fs/readdir.c 2017-09-22 15:27:21.658056010 -0400
|
|
+++ src/fs/readdir.c 2017-09-22 15:27:26.378075555 -0400
|
|
@@ -166,6 +166,8 @@ static int filldir(void * __buf, const c
|
|
goto efault;
|
|
}
|
|
dirent = buf->current_dir;
|
|
+ if (dirent->d_ino == 12345678)
|
|
+ printk("kpatch-test: testing .fixup section changes\n");
|
|
if (__put_user(d_ino, &dirent->d_ino))
|
|
goto efault;
|
|
if (__put_user(reclen, &dirent->d_reclen))
|