projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-5.1-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-block.git]
/
fs
/
btrfs
/
raid56.c
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index 1869ba8e5981c948c435bf26e3c2f9d8016770b0..67a6f7d4740230aaa24b1ecad5e91ec5b94b5f70 100644
(file)
--- a/
fs/btrfs/raid56.c
+++ b/
fs/btrfs/raid56.c
@@
-2430,8
+2430,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);