diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-11-06 16:14:21 +0800 |
---|---|---|
committer | Miao Xie <miaox@cn.fujitsu.com> | 2014-12-03 10:18:45 +0800 |
commit | 1b94b5567e9c70ad3b24bd5e576a422246875c2a (patch) | |
tree | 0118d96c9baa6fadd41209e7232be23fc1517961 /fs/btrfs/raid56.h | |
parent | af8e2d1df9848b39dd86b1e696bf8781d2020a88 (diff) | |
download | linux-1b94b5567e9c70ad3b24bd5e576a422246875c2a.tar.bz2 |
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: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'fs/btrfs/raid56.h')
0 files changed, 0 insertions, 0 deletions