enum obd_notify_event;
struct inode;
struct lustre_md;
-struct obd_capa;
struct obd_device;
struct obd_export;
struct page;
/**
* I/O vector information to or from which read/write is going.
*/
- struct iovec *vui_iov;
- unsigned long vui_nrsegs;
+ struct iov_iter *vui_iter;
+#ifndef HAVE_FILE_OPERATIONS_READ_WRITE_ITER
/**
* Total iov count for left IO.
*/
* Old length for iov that was truncated partially.
*/
size_t vui_iov_olen;
+#endif /* !HAVE_FILE_OPERATIONS_READ_WRITE_ITER */
/**
* Total size for the left IO.
*/