]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/md/bcache/extents.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / md / bcache / extents.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHE_EXTENTS_H
3 #define _BCACHE_EXTENTS_H
4
5 extern const struct btree_keys_ops bch_btree_keys_ops;
6 extern const struct btree_keys_ops bch_extent_keys_ops;
7
8 struct bkey;
9 struct cache_set;
10
11 void bch_extent_to_text(char *, size_t, const struct bkey *);
12 bool __bch_btree_ptr_invalid(struct cache_set *, const struct bkey *);
13 bool __bch_extent_invalid(struct cache_set *, const struct bkey *);
14
15 #endif /* _BCACHE_EXTENTS_H */