Btrfs: add helpers for read-only compat bits
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:32 +0000 (20:50 -0700)
committerChris Mason <clm@fb.com>
Thu, 17 Dec 2015 20:16:46 +0000 (12:16 -0800)
commit1abfbcdf56d9485f050149bc4968c1609f9a0773
treed21c84e17cc771f015d834724b2810ae11403106
parent0f3312295d3ce1d82392244236a52b3b663480ef
Btrfs: add helpers for read-only compat bits

We're finally going to add one of these for the free space tree, so
let's add the same nice helpers that we have for the incompat bits.
While we're add it, also add helpers to clear the bits.

Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h