aboutsummaryrefslogtreecommitdiffstats
path: root/0001-readfile-implement-readfile-syscall.patch
diff options
Diffstat (limited to '0001-readfile-implement-readfile-syscall.patch')
-rw-r--r--0001-readfile-implement-readfile-syscall.patch13
1 files changed, 4 insertions, 9 deletions
diff --git a/0001-readfile-implement-readfile-syscall.patch b/0001-readfile-implement-readfile-syscall.patch
index 1393312d340858..0e0e0653b1ec33 100644
--- a/0001-readfile-implement-readfile-syscall.patch
+++ b/0001-readfile-implement-readfile-syscall.patch
@@ -1,7 +1,7 @@
-From 64793c95677d62753de4db132b0c85adab7aa9ab Mon Sep 17 00:00:00 2001
+From 654540d453a03efc0fe7fc0e0d155981051b10c4 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Sun, 24 May 2020 12:37:15 +0200
-Subject: [PATCH 1/3] readfile: implement readfile syscall
+Subject: [PATCH 1/4] readfile: implement readfile syscall
It's a tiny syscall, meant to allow a user to do a single "open this
file, read into this buffer, and close the file" all in a single shot.
@@ -15,14 +15,12 @@ overhead.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
- fs/open.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ fs/open.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
-diff --git a/fs/open.c b/fs/open.c
-index 6cd48a61cda3..9ec18cddee18 100644
--- a/fs/open.c
+++ b/fs/open.c
-@@ -1370,3 +1370,53 @@ int stream_open(struct inode *inode, struct file *filp)
+@@ -1370,3 +1370,53 @@ int stream_open(struct inode *inode, str
}
EXPORT_SYMBOL(stream_open);
@@ -76,6 +74,3 @@ index 6cd48a61cda3..9ec18cddee18 100644
+
+ return retval;
+}
---
-2.27.0
-