btrfs: unpin_extent_cache: fix the typo and unnecessary arguements
authorLiu Bo <liub.liubo@gmail.com>
Tue, 30 Oct 2012 09:13:52 +0000 (17:13 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 30 Oct 2012 09:18:50 +0000 (10:18 +0100)
- unpint->unpin
- prealloc is no more used

Signed-off-by: Liu Bo <liub.liubo@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/btrfs/extent_map.c

index b8cbc8d5c7f7cb39ed770fb2b256427f25bb9c69..ce9f79216723fbfcfc563d17e5e8974cbd2e9b00 100644 (file)
@@ -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
This page took 0.027128 seconds and 5 git commands to generate.