Skip to content
Commit 1b94b556 authored by Miao Xie's avatar Miao Xie
Browse files

Btrfs, raid56: use a variant to record the operation type



We will introduce new operation type later, if we still use integer
variant as bool variant to record the operation type, we would add new
variant and increase the size of raid bio structure. It is not good,
by this patch, we define different number for different operation,
and we can just use a variant to record the operation type.

Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
parent af8e2d1d
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