commit | 2473114981a36b4f0f57cf6e9548037d547a71b7 | [log] [tgz] |
---|---|---|
author | Ashish Samant <ashish.samant@oracle.com> | Fri Apr 29 18:33:59 2016 -0700 |
committer | David Sterba <dsterba@suse.com> | Fri May 06 15:22:49 2016 +0200 |
tree | d74e2a20b84d865a59f33beecacaa3b5d1869257 | |
parent | e042d1ec4417981dfe9331e47b76f17929bc2ffe [diff] |
btrfs: Fix BUG_ON condition in scrub_setup_recheck_block() pagev array in scrub_block{} is of size SCRUB_MAX_PAGES_PER_BLOCK. page_index should be checked with the same to trigger BUG_ON(). Signed-off-by: Ashish Samant <ashish.samant@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>