We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d1f4a commit aa59cddCopy full SHA for aa59cdd
fs/namespace.c
@@ -142,7 +142,7 @@ void mnt_release_group_id(struct mount *mnt)
142
/*
143
* vfsmount lock must be held for read
144
*/
145
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
146
{
147
#ifdef CONFIG_SMP
148
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1514,7 +1514,8 @@ static int do_umount_root(struct super_block *sb)
1514
return ret;
1515
}
1516
1517
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1518
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1519
1520
struct super_block *sb = mnt->mnt.mnt_sb;
1521
int retval;
0 commit comments