};
const struct file_operations cifs_file_ops = {
- .read = do_sync_read,
+ .read = new_sync_read,
.write = do_sync_write,
- .aio_read = generic_file_aio_read,
+ .read_iter = generic_file_read_iter,
.aio_write = cifs_file_aio_write,
.open = cifs_open,
.release = cifs_close,
};
const struct file_operations cifs_file_nobrl_ops = {
- .read = do_sync_read,
+ .read = new_sync_read,
.write = do_sync_write,
- .aio_read = generic_file_aio_read,
+ .read_iter = generic_file_read_iter,
.aio_write = cifs_file_aio_write,
.open = cifs_open,
.release = cifs_close,