summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2015-08-06 22:16:23 +0800
committerChris Mason <clm@fb.com>2015-08-09 07:07:14 -0700
commitd02207512df120a37a8f1e50a5f90c555266282c (patch)
treeb8535a05b88276d523bbaaa0379b34292fa0c550
parent93314e3b64fd2e77237fdba7cfcc0d38dcd05579 (diff)
downloadop-kernel-dev-d02207512df120a37a8f1e50a5f90c555266282c.zip
op-kernel-dev-d02207512df120a37a8f1e50a5f90c555266282c.tar.gz
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>
-rw-r--r--fs/btrfs/extent-tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 5cefa02..e2ad72b 100644
--- a/fs/btrfs/extent-tree.c
+++ b/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
- * 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,
OpenPOWER on IntegriCloud