Btrfs: use seqlock to protect fs_info->avail_{data, metadata, system}_alloc_bits
There is no lock to protect
  fs_info->avail_{data, metadata, system}_alloc_bits,
it may introduce some problem, such as the wrong profile
information, so we add a seqlock to protect them.
Signed-off-by:  Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by:
Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by:  Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by:
Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by:  Josef Bacik <jbacik@fusionio.com>
Josef Bacik <jbacik@fusionio.com>
Loading
Please register or sign in to comment
