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)
306306/*
307307 * vfsmount lock must be held for read
308308 */
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 )
310310{
311311#ifdef CONFIG_SMP
312312 this_cpu_add (mnt -> mnt_pcp -> mnt_count , n );
@@ -1870,7 +1870,8 @@ static int do_umount_root(struct super_block *sb)
18701870 return ret ;
18711871}
18721872
1873- static int do_umount (struct mount * mnt , int flags )
1873+ /* force a bpftrace dynamic function probe here */
1874+ static noinline __noclone int do_umount (struct mount * mnt , int flags )
18741875{
18751876 struct super_block * sb = mnt -> mnt .mnt_sb ;
18761877 int retval ;
You can’t perform that action at this time.
0 commit comments