Skip to content
Commit 4a64001f authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: fix how we deal with the pages array in the write path



Really we don't need to memset the pages array at all, since we know how many
pages we're going to use in the array and pass that around.  So don't memset,
just trust we're not idiots and we pass num_pages around properly.

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent d0215f3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment