Browse Source

btrfs: Fix wrong comment of btrfs_alloc_tree_block()

These wrong comment was copyed from another function(expired) from
init, this patch fixed them.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Zhaolei 10 years ago
parent
commit
d02207512d
1 changed files with 0 additions and 3 deletions
  1. 0 3
      fs/btrfs/extent-tree.c

+ 0 - 3
fs/btrfs/extent-tree.c

@@ -7567,9 +7567,6 @@ static void unuse_block_rsv(struct btrfs_fs_info *fs_info,
 
 
 /*
 /*
  * finds a free extent and does all the dirty work required for allocation
  * finds a free extent and does all the dirty work required for allocation
- * returns the key for the extent through ins, and a tree buffer for
- * the first block of the extent through buf.
- *
  * returns the tree buffer or an ERR_PTR on error.
  * returns the tree buffer or an ERR_PTR on error.
  */
  */
 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans,
 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans,