nfs: Fix comment for nfs_pageio_init() and nfs_pageio_complete_mirror()
diff mbox

Message ID 1434627433-3154-1-git-send-email-wangyijing@huawei.com
State New, archived
Headers show

Commit Message

Yijing Wang June 18, 2015, 11:37 a.m. UTC
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 fs/nfs/pagelist.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Patch
diff mbox

diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index 282b393..20d0c1a 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -711,7 +711,9 @@  static void nfs_pageio_mirror_init(struct nfs_pgio_mirror *mirror,
  * nfs_pageio_init - initialise a page io descriptor
  * @desc: pointer to descriptor
  * @inode: pointer to inode
- * @doio: pointer to io function
+ * @pg_ops: pointer to pageio operations
+ * @compl_ops: pointer to pageio completion operations
+ * @rw_ops: pointer to nfs read/write operations
  * @bsize: io block size
  * @io_flags: extra parameters for the io function
  */
@@ -1186,6 +1188,7 @@  int nfs_pageio_add_request(struct nfs_pageio_descriptor *desc,
  * nfs_pageio_complete_mirror - Complete I/O on the current mirror of an
  *				nfs_pageio_descriptor
  * @desc: pointer to io descriptor
+ * @mirror_idx: pointer to mirror index
  */
 static void nfs_pageio_complete_mirror(struct nfs_pageio_descriptor *desc,
 				       u32 mirror_idx)