Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4962973img; Tue, 26 Mar 2019 22:19:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe1dHWgnIk3PkM936b9qyWwpMrcUtznn1KS8ScXhmaK5ROg9nqBRXpiHY2m2qwiIUymNXD X-Received: by 2002:a17:902:694b:: with SMTP id k11mr35800996plt.288.1553663977211; Tue, 26 Mar 2019 22:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553663977; cv=none; d=google.com; s=arc-20160816; b=fdGy56i9iLvdQasKoSs09TApCBMyb7xL57ZhSspCpGtTIsjjKcOHPWHTAB2YW1MnI4 6dpV0CSQgLJQtWw8mpqFxK5Ugs4WGodYfk97vSHuJ5XNvtyBExXyfjX0rGYRWFFVX053 /fP1AviRl8FHF1SXsrgwIHoefsxQZ6ucTrekUegKVceixS5J1+FzpCfByscBcnT+USi2 C92Ken9LSoJh6q5Mc49RoHnFa8h2cjwp7RLuRkgFokO4smw+JYmyZ7P/ERn+MIqhf3kf fv9AgpkY8fli8/1m+lT6Wnc3p1zaxdBaf9UCXy7XmAORXp74cY4cNCcXzNWGuKi981tL C3cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Gi/oZKDoLMBdJHiaZfzQGRUahj2/6JIrGqILLjPpIYU=; b=MzfeSJFq5t8/sIVdTXLn/BbSvje9Cu1RujuvmpXpoKGOTF2sgNTAXf/+X1ms43Qn/A B/7LCl6PgTMcrJNnmsoj4NLoKC6VqwMUJd2AKjP6bT4apnEZ3AN/HCbuF9NKMb8yZCt1 pYq8x+qs6l5UzQ3twxUoUri9ouNys+NZNKWupTwRevcaZ7GM3BBuE+p3x9Iwvhs/AGzy t/kWIgYkwZpdXzNSr8YDJmKja9r545mEg2kuDECjvlssMQFPyOocp4BCMeURBqz2g32+ 03qbZmVpmdyHBAExdBd/oR0Its5h3snmiQ3zNW7Aj8jyPAyfNRl4DqNSv+JF9FIxPK88 XNYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fxYDu3N6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k25si17166725pfo.254.2019.03.26.22.19.22; Tue, 26 Mar 2019 22:19:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fxYDu3N6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732603AbfC0FSi (ORCPT + 99 others); Wed, 27 Mar 2019 01:18:38 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33101 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbfC0FSh (ORCPT ); Wed, 27 Mar 2019 01:18:37 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 13BBA2214E; Wed, 27 Mar 2019 01:18:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 27 Mar 2019 01:18:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Gi/oZKDoLMBdJHiaZfzQGRUahj2/6JIrGqILLjPpIYU=; b=fxYDu3N6 /MV59jmVeBdRqaH/NZihQPuR/8UVCD0YlUX2UK9jDji/UF+RoZi9pYyP8OLPZKr8 aMxk1CWuf/lq48LSfYeDQY0qkOc0TnfnQkThjz1KtI8kFBLbWMQDHg4/W7JRUSyg tvzOpKFq4fKL3467YG3zCSNzYw2YetGv+ayO21VYYXhQG3kCRujCB2YE/adfRLi4 jTIOhRFCNHMNvH8AN1rB/FXaYOYbYBTRPmIbsBJHfwKaSRh6L8sac9A1Gp65I4Ty DK1a0LLILUPJq7YVu8uUovji/7ah7x+KMYgnnbUVjyosmIoF7a2qJkjhIfDUCkrP yeMEveLzlnzjpg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedugdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepfdfvohgsihhn ucevrdcujfgrrhguihhnghdfuceothhosghinheskhgvrhhnvghlrdhorhhgqeenucfkph epuddvgedrudeiledrudefledrudelvdenucfrrghrrghmpehmrghilhhfrhhomhepthho sghinheskhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgepvd X-ME-Proxy: Received: from eros.localdomain (124-169-139-192.dyn.iinet.net.au [124.169.139.192]) by mail.messagingengine.com (Postfix) with ESMTPA id 8AADEE415C; Wed, 27 Mar 2019 01:18:32 -0400 (EDT) From: "Tobin C. Harding" To: Al Viro Cc: "Tobin C. Harding" , Jonathan Corbet , Mauro Carvalho Chehab , Neil Brown , Randy Dunlap , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 03/24] fs: Update function docstring for dio_complete() Date: Wed, 27 Mar 2019 16:16:56 +1100 Message-Id: <20190327051717.23225-4-tobin@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190327051717.23225-1-tobin@kernel.org> References: <20190327051717.23225-1-tobin@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sphinx throws a warning when parsing fs/direct_io.c, the warning illuminates the fact that the docstring for function dio_complete() has become stale. Update the function docstring for dio_complete() documenting all current function parameters. Signed-off-by: Tobin C. Harding --- fs/direct-io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index dbc1a1f080ce..ce5fd5f8603c 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -242,7 +242,9 @@ void dio_warn_stale_pagecache(struct file *filp) /** * dio_complete() - called when all DIO BIO I/O has been completed - * @offset: the byte offset in the file of the completed operation + * @dio: The dio we are working on. + * @ret: Error code passed through from do_blockdev_direct_IO(). + * @flags: DIO complete flags. * * This drops i_dio_count, lets interested parties know that a DIO operation * has completed, and calculates the resulting return code for the operation. -- 2.21.0