diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 14:33:16 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 17:37:55 -0400 |
| commit | aad4f8bb42af06371aa0e85bf0cd9d52c0494985 (patch) | |
| tree | 8ac28ca7ea6f4676d10cde8e7f148ebe42237f39 /fs/ext2/file.c | |
| parent | 293bc9822fa9b3c9d4b7893bcb241e085580771a (diff) | |
switch simple generic_file_aio_read() users to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/file.c')
| -rw-r--r-- | fs/ext2/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 44c36e590765..407305072597 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c | |||
| @@ -62,9 +62,9 @@ int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) | |||
| 62 | */ | 62 | */ |
| 63 | const struct file_operations ext2_file_operations = { | 63 | const struct file_operations ext2_file_operations = { |
| 64 | .llseek = generic_file_llseek, | 64 | .llseek = generic_file_llseek, |
| 65 | .read = do_sync_read, | 65 | .read = new_sync_read, |
| 66 | .write = do_sync_write, | 66 | .write = do_sync_write, |
| 67 | .aio_read = generic_file_aio_read, | 67 | .read_iter = generic_file_read_iter, |
| 68 | .aio_write = generic_file_aio_write, | 68 | .aio_write = generic_file_aio_write, |
| 69 | .unlocked_ioctl = ext2_ioctl, | 69 | .unlocked_ioctl = ext2_ioctl, |
| 70 | #ifdef CONFIG_COMPAT | 70 | #ifdef CONFIG_COMPAT |
