]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: add helpers for read-only compat bits
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:32 +0000 (20:50 -0700)
committerShan Hai <shan.hai@oracle.com>
Wed, 23 Aug 2017 05:26:42 +0000 (13:26 +0800)
commitf331d3914f61616290af90cb240b0f7c9dd7df4a
tree8a78e78010d4cad985902eee065f1c94b9a156bf
parent2dfd9bd0f1b2332de7f604a3af57a8f6331ccb6d
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>
Orabug: 26274676

(cherry picked from commit 1abfbcdf56d9485f050149bc4968c1609f9a0773)
Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/btrfs/ctree.h