projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccbe64b
)
Remove file->f_op->sendpage
author
David Howells
<dhowells@redhat.com>
Fri, 9 Jun 2023 10:02:16 +0000
(11:02 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 13 Jun 2023 04:13:23 +0000
(21:13 -0700)
Remove file->f_op->sendpage as splicing to a socket now calls sendmsg
rather than sendpage.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/fs.h
patch
|
blob
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index de2cb1132f0780771253c7ebfe6b0b1ac997463b..67998c64556d87bf5a3f6724ebb858ef9d7e6e27 100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-1790,7
+1790,6
@@
struct file_operations {
int (*fsync) (struct file *, loff_t, loff_t, int datasync);
int (*fasync) (int, struct file *, int);
int (*lock) (struct file *, int, struct file_lock *);
- ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
int (*check_flags)(int);
int (*flock) (struct file *, int, struct file_lock *);