btrfs_inode_combine_flags
flags = btrfs_inode_combine_flags(inode->flags, inode->ro_flags);
flags = btrfs_inode_combine_flags(BTRFS_I(inode)->flags,