There was an error while loading. Please reload this page.
1 parent 6b949e6 commit fabb6e5Copy full SHA for fabb6e5
fs/namespace.c
@@ -275,7 +275,7 @@ void mnt_release_group_id(struct mount *mnt)
275
/*
276
* vfsmount lock must be held for read
277
*/
278
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
279
{
280
#ifdef CONFIG_SMP
281
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1834,7 +1834,8 @@ static int do_umount_root(struct super_block *sb)
1834
return ret;
1835
}
1836
1837
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1838
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1839
1840
struct super_block *sb = mnt->mnt.mnt_sb;
1841
int retval;
0 commit comments