2008-11-16 05:50:04

by Qinghuang Feng

[permalink] [raw]
Subject: [PATCH] EXT2: cleanup comment of ext2_splice_branch

No argument named @chain in ext2_splice_branch,
remove it.

The comments of ext{3|4}_splice_branch and some other
functions in */inode.c shoud be updated too, but I
am not sure how to change them precisely.

Signed-off-by: Qinghuang Feng <[email protected]>
---
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index 7658b33..da31ee9 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -497,8 +497,6 @@ static int ext2_alloc_branch(struct inode *inode,
* ext2_splice_branch - splice the allocated branch onto inode.
* @inode: owner
* @block: (logical) number of block we are adding
- * @chain: chain of indirect blocks (with a missing link - see
- * ext2_alloc_branch)
* @where: location of missing link
* @num: number of indirect blocks we are adding
* @blks: number of direct blocks we are adding