提交 c62baf65 编写于 作者: F Fabian Frederick 提交者: Steven Whitehouse

GFS2: fs/gfs2/bmap.c: kernel-doc warning fixes

Fix 2 typos and move one definition which was between function
comments and function definition (yet another kernel-doc warning)

Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 24972557
...@@ -707,7 +707,7 @@ int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsi ...@@ -707,7 +707,7 @@ int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsi
* @top: The first pointer in the buffer * @top: The first pointer in the buffer
* @bottom: One more than the last pointer * @bottom: One more than the last pointer
* @height: the height this buffer is at * @height: the height this buffer is at
* @data: a pointer to a struct strip_mine * @sm: a pointer to a struct strip_mine
* *
* Returns: errno * Returns: errno
*/ */
...@@ -992,6 +992,8 @@ static int gfs2_block_truncate_page(struct address_space *mapping, loff_t from) ...@@ -992,6 +992,8 @@ static int gfs2_block_truncate_page(struct address_space *mapping, loff_t from)
return err; return err;
} }
#define GFS2_JTRUNC_REVOKES 8192
/** /**
* gfs2_journaled_truncate - Wrapper for truncate_pagecache for jdata files * gfs2_journaled_truncate - Wrapper for truncate_pagecache for jdata files
* @inode: The inode being truncated * @inode: The inode being truncated
...@@ -1003,8 +1005,6 @@ static int gfs2_block_truncate_page(struct address_space *mapping, loff_t from) ...@@ -1003,8 +1005,6 @@ static int gfs2_block_truncate_page(struct address_space *mapping, loff_t from)
* if the number of pages being truncated gets too large. * if the number of pages being truncated gets too large.
*/ */
#define GFS2_JTRUNC_REVOKES 8192
static int gfs2_journaled_truncate(struct inode *inode, u64 oldsize, u64 newsize) static int gfs2_journaled_truncate(struct inode *inode, u64 oldsize, u64 newsize)
{ {
struct gfs2_sbd *sdp = GFS2_SB(inode); struct gfs2_sbd *sdp = GFS2_SB(inode);
...@@ -1348,7 +1348,7 @@ void gfs2_free_journal_extents(struct gfs2_jdesc *jd) ...@@ -1348,7 +1348,7 @@ void gfs2_free_journal_extents(struct gfs2_jdesc *jd)
* gfs2_add_jextent - Add or merge a new extent to extent cache * gfs2_add_jextent - Add or merge a new extent to extent cache
* @jd: The journal descriptor * @jd: The journal descriptor
* @lblock: The logical block at start of new extent * @lblock: The logical block at start of new extent
* @pblock: The physical block at start of new extent * @dblock: The physical block at start of new extent
* @blocks: Size of extent in fs blocks * @blocks: Size of extent in fs blocks
* *
* Returns: 0 on success or -ENOMEM * Returns: 0 on success or -ENOMEM
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册