diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-05-14 12:32:31 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-05-16 04:34:21 -0400 |
commit | c62baf65bfb683d976a92c59661c0dbb18f41239 (patch) | |
tree | d5c6c6b845ca23fce480c99bdc93b79a165a9c5b /fs/gfs2 | |
parent | 24972557b12ce8fd5b6c6847d0e2ee1837ddc13b (diff) |
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: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/bmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index c62d4b9f51dc..e6ee5b6e8d99 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -707,7 +707,7 @@ int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsi | |||
707 | * @top: The first pointer in the buffer | 707 | * @top: The first pointer in the buffer |
708 | * @bottom: One more than the last pointer | 708 | * @bottom: One more than the last pointer |
709 | * @height: the height this buffer is at | 709 | * @height: the height this buffer is at |
710 | * @data: a pointer to a struct strip_mine | 710 | * @sm: a pointer to a struct strip_mine |
711 | * | 711 | * |
712 | * Returns: errno | 712 | * Returns: errno |
713 | */ | 713 | */ |
@@ -992,6 +992,8 @@ unlock: | |||
992 | return err; | 992 | return err; |
993 | } | 993 | } |
994 | 994 | ||
995 | #define GFS2_JTRUNC_REVOKES 8192 | ||
996 | |||
995 | /** | 997 | /** |
996 | * gfs2_journaled_truncate - Wrapper for truncate_pagecache for jdata files | 998 | * gfs2_journaled_truncate - Wrapper for truncate_pagecache for jdata files |
997 | * @inode: The inode being truncated | 999 | * @inode: The inode being truncated |
@@ -1003,8 +1005,6 @@ unlock: | |||
1003 | * if the number of pages being truncated gets too large. | 1005 | * if the number of pages being truncated gets too large. |
1004 | */ | 1006 | */ |
1005 | 1007 | ||
1006 | #define GFS2_JTRUNC_REVOKES 8192 | ||
1007 | |||
1008 | static int gfs2_journaled_truncate(struct inode *inode, u64 oldsize, u64 newsize) | 1008 | static int gfs2_journaled_truncate(struct inode *inode, u64 oldsize, u64 newsize) |
1009 | { | 1009 | { |
1010 | struct gfs2_sbd *sdp = GFS2_SB(inode); | 1010 | struct gfs2_sbd *sdp = GFS2_SB(inode); |
@@ -1348,7 +1348,7 @@ void gfs2_free_journal_extents(struct gfs2_jdesc *jd) | |||
1348 | * gfs2_add_jextent - Add or merge a new extent to extent cache | 1348 | * gfs2_add_jextent - Add or merge a new extent to extent cache |
1349 | * @jd: The journal descriptor | 1349 | * @jd: The journal descriptor |
1350 | * @lblock: The logical block at start of new extent | 1350 | * @lblock: The logical block at start of new extent |
1351 | * @pblock: The physical block at start of new extent | 1351 | * @dblock: The physical block at start of new extent |
1352 | * @blocks: Size of extent in fs blocks | 1352 | * @blocks: Size of extent in fs blocks |
1353 | * | 1353 | * |
1354 | * Returns: 0 on success or -ENOMEM | 1354 | * Returns: 0 on success or -ENOMEM |