提交 52b1de91 编写于 作者: L Liu Bo 提交者: Jiri Kosina

btrfs: unpin_extent_cache: fix the typo and unnecessary arguements

- unpint->unpin
- prealloc is no more used
Signed-off-by: NLiu Bo <liub.liubo@gmail.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 6efb3c0a
...@@ -234,12 +234,11 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) ...@@ -234,12 +234,11 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em)
} }
/** /**
* unpint_extent_cache - unpin an extent from the cache * unpin_extent_cache - unpin an extent from the cache
* @tree: tree to unpin the extent in * @tree: tree to unpin the extent in
* @start: logical offset in the file * @start: logical offset in the file
* @len: length of the extent * @len: length of the extent
* @gen: generation that this extent has been modified in * @gen: generation that this extent has been modified in
* @prealloc: if this is set we need to clear the prealloc flag
* *
* Called after an extent has been written to disk properly. Set the generation * Called after an extent has been written to disk properly. Set the generation
* to the generation that actually added the file item to the inode so we know * to the generation that actually added the file item to the inode so we know
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册