From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Date: Tue, 30 Mar 2021 17:44:35 +0100 Subject: [Cluster-devel] [PATCH 08/31] fs: gfs2: aops: Fix a little potential doc-rot In-Reply-To: <20210330164458.1625478-1-lee.jones@linaro.org> References: <20210330164458.1625478-1-lee.jones@linaro.org> Message-ID: <20210330164458.1625478-9-lee.jones@linaro.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Fixes the following W=1 kernel build warning(s): fs/gfs2/aops.c:560: warning: Function parameter or member 'rac' not described in 'gfs2_readahead' fs/gfs2/aops.c:560: warning: Excess function parameter 'file' description in 'gfs2_readahead' fs/gfs2/aops.c:560: warning: Excess function parameter 'mapping' description in 'gfs2_readahead' fs/gfs2/aops.c:560: warning: Excess function parameter 'pages' description in 'gfs2_readahead' fs/gfs2/aops.c:560: warning: Excess function parameter 'nr_pages' description in 'gfs2_readahead' Cc: Bob Peterson Cc: Andreas Gruenbacher Cc: cluster-devel at redhat.com Signed-off-by: Lee Jones --- fs/gfs2/aops.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index cc4f987687f3c..23b5be3db044c 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -540,10 +540,7 @@ int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, /** * gfs2_readahead - Read a bunch of pages at once - * @file: The file to read from - * @mapping: Address space info - * @pages: List of pages to read - * @nr_pages: Number of pages to read + * @rac: Read-ahead control structure * * Some notes: * 1. This is only for readahead, so we can simply ignore any things -- 2.27.0