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 @@ -163,7 +163,7 @@ void mnt_release_group_id(struct mount *mnt)
163163/*
164164 * vfsmount lock must be held for read
165165 */
166- static inline void mnt_add_count (struct mount * mnt , int n )
166+ static noinline __noclone void mnt_add_count (struct mount * mnt , int n )
167167{
168168#ifdef CONFIG_SMP
169169 this_cpu_add (mnt -> mnt_pcp -> mnt_count , n );
@@ -1590,7 +1590,8 @@ static int do_umount_root(struct super_block *sb)
15901590 return ret ;
15911591}
15921592
1593- static int do_umount (struct mount * mnt , int flags )
1593+ /* force a bpftrace dynamic function probe here */
1594+ static noinline __noclone int do_umount (struct mount * mnt , int flags )
15941595{
15951596 struct super_block * sb = mnt -> mnt .mnt_sb ;
15961597 int retval ;
You can’t perform that action at this time.
0 commit comments