2010-11-26 16:35:52

by Stefan Hajnoczi

[permalink] [raw]
Subject: [PATCH] fs/fs-writeback.c: Fix sync_inodes_sb() return value kernel-doc

The sync_inodes_sb() function does not have a return value. Remove the
outdated documentation comment.

Signed-off-by: Stefan Hajnoczi <[email protected]>
---
fs/fs-writeback.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 3d06ccc..13a6b69 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1164,7 +1164,7 @@ EXPORT_SYMBOL(writeback_inodes_sb_nr_if_idle);
* @sb: the superblock
*
* This function writes and waits on any dirty inode belonging to this
- * super_block. The number of pages synced is returned.
+ * super_block.
*/
void sync_inodes_sb(struct super_block *sb)
{
--
1.7.2.3


2010-11-29 14:57:22

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] fs/fs-writeback.c: Fix sync_inodes_sb() return value kernel-doc

On Fri, Nov 26, 2010 at 04:35:10PM +0000, Stefan Hajnoczi wrote:
> The sync_inodes_sb() function does not have a return value. Remove the
> outdated documentation comment.

Looks good.