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 @@ -306,7 +306,7 @@ void mnt_release_group_id(struct mount *mnt)
306
306
/*
307
307
* vfsmount lock must be held for read
308
308
*/
309
- static inline void mnt_add_count (struct mount * mnt , int n )
309
+ static noinline __noclone void mnt_add_count (struct mount * mnt , int n )
310
310
{
311
311
#ifdef CONFIG_SMP
312
312
this_cpu_add (mnt -> mnt_pcp -> mnt_count , n );
@@ -1874,7 +1874,8 @@ static int do_umount_root(struct super_block *sb)
1874
1874
return ret ;
1875
1875
}
1876
1876
1877
- static int do_umount (struct mount * mnt , int flags )
1877
+ /* force a bpftrace dynamic function probe here */
1878
+ static noinline __noclone int do_umount (struct mount * mnt , int flags )
1878
1879
{
1879
1880
struct super_block * sb = mnt -> mnt .mnt_sb ;
1880
1881
int retval ;
You can’t perform that action at this time.
0 commit comments