projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209ad53
)
jfs: Add splice support
author
Daniel Drake
<ddrake@brontes3d.com>
Mon, 30 Oct 2006 17:47:02 +0000
(11:47 -0600)
committer
Dave Kleikamp
<shaggy@austin.ibm.com>
Mon, 30 Oct 2006 17:47:02 +0000
(11:47 -0600)
This allows the splice() and tee() syscalls to be used with JFS.
Signed-off-by: Daniel Drake <ddrake@brontes3d.com>
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/file.c
b/fs/jfs/file.c
index 34181b8f5a0ac6cbbbea4cee5fee75d5ab9e3175..aa9132d04920f679c47b2c1d0e1eed56851ded77 100644
(file)
--- a/
fs/jfs/file.c
+++ b/
fs/jfs/file.c
@@
-109,6
+109,8
@@
const struct file_operations jfs_file_operations = {
.aio_write = generic_file_aio_write,
.mmap = generic_file_mmap,
.sendfile = generic_file_sendfile,
+ .splice_read = generic_file_splice_read,
+ .splice_write = generic_file_splice_write,
.fsync = jfs_fsync,
.release = jfs_release,
.ioctl = jfs_ioctl,