File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ void mnt_release_group_id(struct mount *mnt)
275
275
/*
276
276
* vfsmount lock must be held for read
277
277
*/
278
- static inline void mnt_add_count (struct mount * mnt , int n )
278
+ static noinline __noclone void mnt_add_count (struct mount * mnt , int n )
279
279
{
280
280
#ifdef CONFIG_SMP
281
281
this_cpu_add (mnt -> mnt_pcp -> mnt_count , n );
@@ -1834,7 +1834,8 @@ static int do_umount_root(struct super_block *sb)
1834
1834
return ret ;
1835
1835
}
1836
1836
1837
- static int do_umount (struct mount * mnt , int flags )
1837
+ /* force a bpftrace dynamic function probe here */
1838
+ static noinline __noclone int do_umount (struct mount * mnt , int flags )
1838
1839
{
1839
1840
struct super_block * sb = mnt -> mnt .mnt_sb ;
1840
1841
int retval ;
You can’t perform that action at this time.
0 commit comments