diff options
| author | Shuning Zhang <sunny.s.zhang@oracle.com> | 2019-03-05 20:47:35 -0500 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2019-03-26 06:21:23 -0400 |
| commit | 1206d028b2c8f159506e0efd6dad66aca82e8de8 (patch) | |
| tree | 33a5967f86bf23ad871f1307f0ecabcf57b37ddf | |
| parent | a768a9abc625d554f7b6428517089c193fcb5962 (diff) | |
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: Shuning Zhang <sunny.s.zhang@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
| -rw-r--r-- | fs/ext2/inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index c27c27300d95..e474127dd255 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
| @@ -451,7 +451,9 @@ failed_out: | |||
| 451 | /** | 451 | /** |
| 452 | * ext2_alloc_branch - allocate and set up a chain of blocks. | 452 | * ext2_alloc_branch - allocate and set up a chain of blocks. |
| 453 | * @inode: owner | 453 | * @inode: owner |
| 454 | * @num: depth of the chain (number of blocks to allocate) | 454 | * @indirect_blks: depth of the chain (number of blocks to allocate) |
| 455 | * @blks: number of allocated direct blocks | ||
| 456 | * @goal: preferred place for allocation | ||
| 455 | * @offsets: offsets (in the blocks) to store the pointers to next. | 457 | * @offsets: offsets (in the blocks) to store the pointers to next. |
| 456 | * @branch: place to store the chain in. | 458 | * @branch: place to store the chain in. |
| 457 | * | 459 | * |
