Commit 1206d028 authored by Shuning Zhang's avatar Shuning Zhang Committed by Jan Kara
Browse files

ext2: Adjust the comment of function ext2_alloc_branch



The name of argument is error in the header comment.
@num should be @indirect_blks.
At the same time, there was a lack of description of the two parameters
@blks and @goal.
This commit therefore fixes this header comment.

Signed-off-by: default avatarShuning Zhang <sunny.s.zhang@oracle.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent a768a9ab
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -451,7 +451,9 @@ failed_out:
/**
 *	ext2_alloc_branch - allocate and set up a chain of blocks.
 *	@inode: owner
 *	@num: depth of the chain (number of blocks to allocate)
 *	@indirect_blks: depth of the chain (number of blocks to allocate)
 *	@blks: number of allocated direct blocks
 *	@goal: preferred place for allocation
 *	@offsets: offsets (in the blocks) to store the pointers to next.
 *	@branch: place to store the chain in.
 *