Fixes the following W=1 kernel build warning(s): fs/gfs2/file.c:127: warning: cannot understand function prototype: 'struct ' fs/gfs2/file.c:446: warning: Excess function parameter 'vma' description in 'gfs2_page_mkwrite'
Cc: Bob Peterson <rpete...@redhat.com> Cc: Andreas Gruenbacher <agrue...@redhat.com> Cc: cluster-devel@redhat.com Signed-off-by: Lee Jones <lee.jo...@linaro.org> --- fs/gfs2/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 2d500f90cdacf..afab20e5954fd 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c @@ -118,7 +118,7 @@ static int gfs2_readdir(struct file *file, struct dir_context *ctx) return error; } -/** +/* * fsflag_gfs2flag * * The FS_JOURNAL_DATA_FL flag maps to GFS2_DIF_INHERIT_JDATA for directories, @@ -435,7 +435,6 @@ static int gfs2_allocate_page_backing(struct page *page, unsigned int length) /** * gfs2_page_mkwrite - Make a shared, mmap()ed, page writable - * @vma: The virtual memory area * @vmf: The virtual memory fault containing the page to become writable * * When the page becomes writable, we need to ensure that we have -- 2.27.0