We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4577323 commit 4fef514Copy full SHA for 4fef514
1 file changed
fs/namespace.c
@@ -306,7 +306,7 @@ void mnt_release_group_id(struct mount *mnt)
306
/*
307
* vfsmount lock must be held for read
308
*/
309
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
310
{
311
#ifdef CONFIG_SMP
312
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1874,7 +1874,8 @@ static int do_umount_root(struct super_block *sb)
1874
return ret;
1875
}
1876
1877
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1878
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1879
1880
struct super_block *sb = mnt->mnt.mnt_sb;
1881
int retval;
0 commit comments