Btrfs: fix check on same raid type flag twice
authorHenrik Nordvik <henrikno@gmail.com>
Mon, 29 Apr 2013 18:09:23 +0000 (18:09 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:14 +0000 (11:29 -0400)
commit15b0a89d71ae2573ed1c3b168f08320527eed34e
tree92f64ace2b3ca28d0089ce2e8dfb72227c1fe2de
parent13e6c37b989859e70b0d73d3f2cb0aa022159b17
Btrfs: fix check on same raid type flag twice

Code checked for raid 5 flag in two else-if branches, so code would never be reached. Probably a copy-paste bug.

Signed-off-by: Henrik Nordvik <henrikno@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c