diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-05-05 14:29:54 -0400 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2015-05-05 14:29:54 -0400 |
commit | 1272574bf94874a644ea82fad321034c15b157ac (patch) | |
tree | a8e7d65c619fc7eb25d5d373ac1e9a93590c8bf3 | |
parent | e50ead480fac63ede9e0b656cd29c1820f7af9de (diff) |
gfs2: kerneldoc warning fixes
Fixes the following kernel-doc warnings:
Warning(fs/gfs2/aops.c:180): No description found for parameter 'wbc'
Warning(fs/gfs2/aops.c:236): No description found for parameter 'end'
Warning(fs/gfs2/aops.c:236): No description found for parameter 'done_index'
Warning(fs/gfs2/aops.c:236): Excess function parameter 'writepage' description in 'gfs2_write_jdata_pagevec'
Warning(fs/gfs2/aops.c:346): Excess function parameter 'writepage' description in 'gfs2_write_cache_jdata'
Warning(fs/gfs2/aops.c:346): Excess function parameter 'data' description in 'gfs2_write_cache_jdata'
Warning(fs/gfs2/aops.c:605): No description found for parameter 'file'
Warning(fs/gfs2/aops.c:605): No description found for parameter 'mapping'
Warning(fs/gfs2/aops.c:605): No description found for parameter 'pages'
Warning(fs/gfs2/aops.c:605): No description found for parameter 'nr_pages'
Warning(fs/gfs2/aops.c:870): No description found for parameter 'copied'
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
-rw-r--r-- | fs/gfs2/aops.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index a6e6990aea39..7c5a96c0b9f1 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c | |||
@@ -171,6 +171,7 @@ static int __gfs2_jdata_writepage(struct page *page, struct writeback_control *w | |||
171 | /** | 171 | /** |
172 | * gfs2_jdata_writepage - Write complete page | 172 | * gfs2_jdata_writepage - Write complete page |
173 | * @page: Page to write | 173 | * @page: Page to write |
174 | * @wbc: The writeback control | ||
174 | * | 175 | * |
175 | * Returns: errno | 176 | * Returns: errno |
176 | * | 177 | * |
@@ -221,9 +222,10 @@ static int gfs2_writepages(struct address_space *mapping, | |||
221 | * gfs2_write_jdata_pagevec - Write back a pagevec's worth of pages | 222 | * gfs2_write_jdata_pagevec - Write back a pagevec's worth of pages |
222 | * @mapping: The mapping | 223 | * @mapping: The mapping |
223 | * @wbc: The writeback control | 224 | * @wbc: The writeback control |
224 | * @writepage: The writepage function to call for each page | ||
225 | * @pvec: The vector of pages | 225 | * @pvec: The vector of pages |
226 | * @nr_pages: The number of pages to write | 226 | * @nr_pages: The number of pages to write |
227 | * @end: End position | ||
228 | * @done_index: Page index | ||
227 | * | 229 | * |
228 | * Returns: non-zero if loop should terminate, zero otherwise | 230 | * Returns: non-zero if loop should terminate, zero otherwise |
229 | */ | 231 | */ |
@@ -333,8 +335,6 @@ continue_unlock: | |||
333 | * gfs2_write_cache_jdata - Like write_cache_pages but different | 335 | * gfs2_write_cache_jdata - Like write_cache_pages but different |
334 | * @mapping: The mapping to write | 336 | * @mapping: The mapping to write |
335 | * @wbc: The writeback control | 337 | * @wbc: The writeback control |
336 | * @writepage: The writepage function to call | ||
337 | * @data: The data to pass to writepage | ||
338 | * | 338 | * |
339 | * The reason that we use our own function here is that we need to | 339 | * The reason that we use our own function here is that we need to |
340 | * start transactions before we grab page locks. This allows us | 340 | * start transactions before we grab page locks. This allows us |
@@ -588,6 +588,10 @@ int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, | |||
588 | 588 | ||
589 | /** | 589 | /** |
590 | * gfs2_readpages - Read a bunch of pages at once | 590 | * gfs2_readpages - Read a bunch of pages at once |
591 | * @file: The file to read from | ||
592 | * @mapping: Address space info | ||
593 | * @pages: List of pages to read | ||
594 | * @nr_pages: Number of pages to read | ||
591 | * | 595 | * |
592 | * Some notes: | 596 | * Some notes: |
593 | * 1. This is only for readahead, so we can simply ignore any things | 597 | * 1. This is only for readahead, so we can simply ignore any things |
@@ -853,7 +857,7 @@ static int gfs2_stuffed_write_end(struct inode *inode, struct buffer_head *dibh, | |||
853 | * @mapping: The address space to write to | 857 | * @mapping: The address space to write to |
854 | * @pos: The file position | 858 | * @pos: The file position |
855 | * @len: The length of the data | 859 | * @len: The length of the data |
856 | * @copied: | 860 | * @copied: How much was actually copied by the VFS |
857 | * @page: The page that has been written | 861 | * @page: The page that has been written |
858 | * @fsdata: The fsdata (unused in GFS2) | 862 | * @fsdata: The fsdata (unused in GFS2) |
859 | * | 863 | * |