]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
btrfs: Fix wrong comment of btrfs_alloc_tree_block()
authorZhaolei <zhaolei@cn.fujitsu.com>
Thu, 6 Aug 2015 14:16:23 +0000 (22:16 +0800)
committerChris Mason <clm@fb.com>
Sun, 9 Aug 2015 14:07:14 +0000 (07:07 -0700)
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>
fs/btrfs/extent-tree.c

index 5cefa02b40a9e09b98895c74978de3cd4dda8eb9..e2ad72b241ad11e0ebcbd0c4e9eb3cf14ff08624 100644 (file)
@@ -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
- * 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.
  */
 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans,