write_iter variants of {__,}generic_file_aio_write()
[linux-2.6-block.git] / fs / ext2 / file.c
index 407305072597e8d5925efb95770b5a41437e5103..970c6aca15ccbd9862b8249c93f7fabc0537f8cd 100644 (file)
@@ -63,9 +63,9 @@ int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
 const struct file_operations ext2_file_operations = {
        .llseek         = generic_file_llseek,
        .read           = new_sync_read,
-       .write          = do_sync_write,
+       .write          = new_sync_write,
        .read_iter      = generic_file_read_iter,
-       .aio_write      = generic_file_aio_write,
+       .write_iter     = generic_file_write_iter,
        .unlocked_ioctl = ext2_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl   = ext2_compat_ioctl,