mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
btrfs: add __cold attribute to extent_io_tree_panic()
This is a wrapper that leads to a panic, so add the annotation like the other similar functions have. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
26b38e2816
commit
0128c9a7cd
|
@ -346,10 +346,10 @@ static inline struct extent_state *tree_search(struct extent_io_tree *tree, u64
|
|||
return tree_search_for_insert(tree, offset, NULL, NULL);
|
||||
}
|
||||
|
||||
static void extent_io_tree_panic(const struct extent_io_tree *tree,
|
||||
const struct extent_state *state,
|
||||
const char *opname,
|
||||
int err)
|
||||
static void __cold extent_io_tree_panic(const struct extent_io_tree *tree,
|
||||
const struct extent_state *state,
|
||||
const char *opname,
|
||||
int err)
|
||||
{
|
||||
btrfs_panic(extent_io_tree_to_fs_info(tree), err,
|
||||
"extent io tree error on %s state start %llu end %llu",
|
||||
|
|
Loading…
Reference in New Issue
Block a user