Skip to content

Commit

Permalink
btrfs: unpin_extent_cache: fix the typo and unnecessary arguements
Browse files Browse the repository at this point in the history
- unpint->unpin
- prealloc is no more used

Signed-off-by: Liu Bo <liub.liubo@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Liu Bo authored and Jiri Kosina committed Oct 30, 2012
1 parent 6efb3c0 commit 52b1de9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/btrfs/extent_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @start: logical offset in the file
* @len: length of the extent
* @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
* to the generation that actually added the file item to the inode so we know
Expand Down

0 comments on commit 52b1de9

Please sign in to comment.