aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-09-09 17:43:06 +0200
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:40 +0100
commitcc37ea61920eca87316be1ae255e5e5e7b12f7b6 (patch)
treedff70cd375111c2b384a16eb52e496777d4ee9a9 /fs/btrfs/struct-funcs.c
parente0a8b9a74767f748881b1e2408ed9afe7a26d9fd (diff)
btrfs: convert __TRANS_* defines to enum bits
The base transaction bits can be defined as bits in a contiguous sequence, although right now there's a hole from bit 1 to 8. The bits are used for btrfs_trans_handle::type, and there's another set of TRANS_STATE_* defines that are for btrfs_transaction::state. They are mutually exclusive though the hole in the sequence looks like was made for the states. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions