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 @@ -142,7 +142,7 @@ void mnt_release_group_id(struct mount *mnt)
142142/*
143143 * vfsmount lock must be held for read
144144 */
145- static inline void mnt_add_count (struct mount * mnt , int n )
145+ static noinline __noclone void mnt_add_count (struct mount * mnt , int n )
146146{
147147#ifdef CONFIG_SMP
148148 this_cpu_add (mnt -> mnt_pcp -> mnt_count , n );
@@ -1514,7 +1514,8 @@ static int do_umount_root(struct super_block *sb)
15141514 return ret ;
15151515}
15161516
1517- static int do_umount (struct mount * mnt , int flags )
1517+ /* force a bpftrace dynamic function probe here */
1518+ static noinline __noclone int do_umount (struct mount * mnt , int flags )
15181519{
15191520 struct super_block * sb = mnt -> mnt .mnt_sb ;
15201521 int retval ;
You can’t perform that action at this time.
0 commit comments