summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-checker.c')
-rw-r--r--fs/btrfs/tree-checker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c
index e96cfd93ae3f..8871286c1a91 100644
--- a/fs/btrfs/tree-checker.c
+++ b/fs/btrfs/tree-checker.c
@@ -52,6 +52,7 @@
52 * Allows callers to customize the output. 52 * Allows callers to customize the output.
53 */ 53 */
54__printf(4, 5) 54__printf(4, 5)
55__cold
55static void generic_err(const struct btrfs_fs_info *fs_info, 56static void generic_err(const struct btrfs_fs_info *fs_info,
56 const struct extent_buffer *eb, int slot, 57 const struct extent_buffer *eb, int slot,
57 const char *fmt, ...) 58 const char *fmt, ...)
@@ -76,6 +77,7 @@ static void generic_err(const struct btrfs_fs_info *fs_info,
76 * offset has its own meaning. 77 * offset has its own meaning.
77 */ 78 */
78__printf(4, 5) 79__printf(4, 5)
80__cold
79static void file_extent_err(const struct btrfs_fs_info *fs_info, 81static void file_extent_err(const struct btrfs_fs_info *fs_info,
80 const struct extent_buffer *eb, int slot, 82 const struct extent_buffer *eb, int slot,
81 const char *fmt, ...) 83 const char *fmt, ...)
@@ -229,6 +231,7 @@ static int check_csum_item(struct btrfs_fs_info *fs_info,
229 * which represents inode number 231 * which represents inode number
230 */ 232 */
231__printf(4, 5) 233__printf(4, 5)
234__cold
232static void dir_item_err(const struct btrfs_fs_info *fs_info, 235static void dir_item_err(const struct btrfs_fs_info *fs_info,
233 const struct extent_buffer *eb, int slot, 236 const struct extent_buffer *eb, int slot,
234 const char *fmt, ...) 237 const char *fmt, ...)