Commit 7f9c51f0 authored by Jens Axboe's avatar Jens Axboe

[PATCH] Add ->splice_read/splice_write to def_blk_fops

It can use the generic handlers.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent f84d7519
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment