diff options
author | Jens Axboe <axboe@suse.de> | 2006-05-01 17:59:32 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-05-01 17:59:32 (GMT) |
commit | 7f9c51f0d9783c78db5c2aa16806d0c256ac667f (patch) | |
tree | 53cfd26bd0077ae6373e54a7f91b2023af26a842 /fs | |
parent | f84d751994441292593523c7069ed147176f6cab (diff) | |
download | linux-7f9c51f0d9783c78db5c2aa16806d0c256ac667f.tar.xz |
[PATCH] Add ->splice_read/splice_write to def_blk_fops
It can use the generic handlers.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/block_dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index af88c43..f5958f4 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1104,6 +1104,8 @@ const struct file_operations def_blk_fops = { .readv = generic_file_readv, .writev = generic_file_write_nolock, .sendfile = generic_file_sendfile, + .splice_read = generic_file_splice_read, + .splice_write = generic_file_splice_write, }; int ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg) |