@@ -31,11 +31,11 @@ static int bch2_dirent_has_target(struct btree_trans *trans, struct bkey_s_c_dir
31
31
}
32
32
}
33
33
34
- static int fsck_rename_dirent (struct btree_trans * trans ,
35
- struct snapshots_seen * s ,
36
- const struct bch_hash_desc desc ,
37
- struct bch_hash_info * hash_info ,
38
- struct bkey_s_c_dirent old )
34
+ static noinline int fsck_rename_dirent (struct btree_trans * trans ,
35
+ struct snapshots_seen * s ,
36
+ const struct bch_hash_desc desc ,
37
+ struct bch_hash_info * hash_info ,
38
+ struct bkey_s_c_dirent old )
39
39
{
40
40
struct qstr old_name = bch2_dirent_get_name (old );
41
41
struct bkey_i_dirent * new = bch2_trans_kmalloc (trans , bkey_bytes (old .k ) + 32 );
@@ -71,11 +71,11 @@ static int fsck_rename_dirent(struct btree_trans *trans,
71
71
return bch2_fsck_update_backpointers (trans , s , desc , hash_info , & new -> k_i );
72
72
}
73
73
74
- static int hash_pick_winner (struct btree_trans * trans ,
75
- const struct bch_hash_desc desc ,
76
- struct bch_hash_info * hash_info ,
77
- struct bkey_s_c k1 ,
78
- struct bkey_s_c k2 )
74
+ static noinline int hash_pick_winner (struct btree_trans * trans ,
75
+ const struct bch_hash_desc desc ,
76
+ struct bch_hash_info * hash_info ,
77
+ struct bkey_s_c k1 ,
78
+ struct bkey_s_c k2 )
79
79
{
80
80
if (bkey_val_bytes (k1 .k ) == bkey_val_bytes (k2 .k ) &&
81
81
!memcmp (k1 .v , k2 .v , bkey_val_bytes (k1 .k )))
@@ -142,8 +142,8 @@ static int repair_inode_hash_info(struct btree_trans *trans,
142
142
* All versions of the same inode in different snapshots must have the same hash
143
143
* seed/type: verify that the hash info we're using matches the root
144
144
*/
145
- static int check_inode_hash_info_matches_root (struct btree_trans * trans , u64 inum ,
146
- struct bch_hash_info * hash_info )
145
+ static noinline int check_inode_hash_info_matches_root (struct btree_trans * trans , u64 inum ,
146
+ struct bch_hash_info * hash_info )
147
147
{
148
148
struct bch_fs * c = trans -> c ;
149
149
struct btree_iter iter ;
0 commit comments