Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52b1de91 authored by Liu Bo's avatar Liu Bo Committed by Jiri Kosina
Browse files

btrfs: unpin_extent_cache: fix the typo and unnecessary arguements



- unpint->unpin
- prealloc is no more used

Signed-off-by: default avatarLiu Bo <liub.liubo@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 6efb3c0a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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