summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-03 03:21:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-06 17:38:01 -0400
commit1456c0a87c4241d3a801651019e66983c69ad17d (patch)
tree2e475b88151d625d22967324e6310ff4309ef731 /drivers/char
parent8174202b34c30e0c07231bf63f18ab29af634f0b (diff)
blkdev_aio_write() - turn into blkdev_write_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c
index cfb607a64b8..0102dc78860 100644
--- a/drivers/char/raw.c
+++ b/drivers/char/raw.c
@@ -286,8 +286,8 @@ static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd,
static const struct file_operations raw_fops = {
.read = new_sync_read,
.read_iter = generic_file_read_iter,
- .write = do_sync_write,
- .aio_write = blkdev_aio_write,
+ .write = new_sync_write,
+ .write_iter = blkdev_write_iter,
.fsync = blkdev_fsync,
.open = raw_open,
.release = raw_release,