X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Fvvp_internal.h;h=31aff0848bbcdee2a30af75b2bc4fdfc24d2c3e0;hb=044503492c8e2e4cc519c34f282744d3d941a759;hp=4bd655445e02ff44957c3d077247571740b08367;hpb=427e6a469722cf14b2cd80cec991a4154b4aae50;p=fs%2Flustre-release.git diff --git a/lustre/llite/vvp_internal.h b/lustre/llite/vvp_internal.h index 4bd6554..31aff08 100644 --- a/lustre/llite/vvp_internal.h +++ b/lustre/llite/vvp_internal.h @@ -46,9 +46,7 @@ enum obd_notify_event; struct inode; -struct lov_stripe_md; struct lustre_md; -struct obd_capa; struct obd_device; struct obd_export; struct page; @@ -70,8 +68,8 @@ struct vvp_io { /** * 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. */ @@ -80,6 +78,7 @@ struct vvp_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. */