diff options
author | Christoph Hellwig <hch@lst.de> | 2009-08-20 11:43:41 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-09-14 11:08:15 -0400 |
commit | eef99380679e20e7edc096aa4d8a98b875404d79 (patch) | |
tree | 358a39148e8513eed9ba6aaff13f6bf660a2ce1e /drivers/char/raw.c | |
parent | 918941a3f3d46c2a69971b4718aaf13b1be2f1a7 (diff) |
vfs: Rename generic_file_aio_write_nolock
generic_file_aio_write_nolock() is now used only by block devices and raw
character device. Filesystems should use __generic_file_aio_write() in case
generic_file_aio_write() doesn't suit them. So rename the function to
blkdev_aio_write() and move it to fs/blockdev.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/char/raw.c')
-rw-r--r-- | drivers/char/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index 05f9d18b9361..40268db02e22 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -246,7 +246,7 @@ static const struct file_operations raw_fops = { | |||
246 | .read = do_sync_read, | 246 | .read = do_sync_read, |
247 | .aio_read = generic_file_aio_read, | 247 | .aio_read = generic_file_aio_read, |
248 | .write = do_sync_write, | 248 | .write = do_sync_write, |
249 | .aio_write = generic_file_aio_write_nolock, | 249 | .aio_write = blkdev_aio_write, |
250 | .open = raw_open, | 250 | .open = raw_open, |
251 | .release= raw_release, | 251 | .release= raw_release, |
252 | .ioctl = raw_ioctl, | 252 | .ioctl = raw_ioctl, |