git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: raid56: properly unmap parity page in finish_parity_scrub()
[sfrench/cifs-2.6.git]
/
fs
/
btrfs
/
raid56.c
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index e74455eb42f9b09bdc6031098143fac7ec8650d0..6976e22807713f40ce4b21e0d7bc6beea04c58e6 100644
(file)
--- a/
fs/btrfs/raid56.c
+++ b/
fs/btrfs/raid56.c
@@
-2429,8
+2429,9
@@
static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
bitmap_clear(rbio->dbitmap, pagenr, 1);
kunmap(p);
- for (stripe = 0; stripe <
rbio->real_stripes
; stripe++)
+ for (stripe = 0; stripe <
nr_data
; stripe++)
kunmap(page_in_rbio(rbio, stripe, pagenr, 0));
+ kunmap(p_page);
}
__free_page(p_page);