OSDN Git Service

btrfs: move split_flags/combine_flags helpers to inode-item.h
authorJosef Bacik <josef@toxicpanda.com>
Sat, 29 Apr 2023 20:07:18 +0000 (16:07 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commitf541833c8eea17e3779e0fce81d3c92a3604d80a
tree6728ff73da193eed697ff532cc7655ab0b885b30
parent2cac5af16537f8eafaba5e525fbb5a93160ebaff
btrfs: move split_flags/combine_flags helpers to inode-item.h

These are more related to the inode item flags on disk than the
in-memory btrfs_inode, move the helpers to inode-item.h.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/inode-item.h
fs/btrfs/tree-checker.c