Skip to content

Commit

Permalink
call ChangeMdParity only if parity not par_default
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fehr committed Aug 12, 2013
1 parent eb2a450 commit c4cb74b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/include/partitioning/ep-raid-lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ def EpCreateRaid
"parity_algorithm",
:par_default
)
Storage.ChangeMdParitySymbol(nr, parity_algorithm)
if( parity_algorithm!=:par_default )
Storage.ChangeMdParitySymbol(nr, parity_algorithm)
end
end

Storage.ChangeVolumeProperties(data)
Expand Down

0 comments on commit c4cb74b

Please sign in to comment.