We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4cad30 commit 2faf02aCopy full SHA for 2faf02a
1 file changed
fs/namespace.c
@@ -326,7 +326,7 @@ void mnt_release_group_id(struct mount *mnt)
326
/*
327
* vfsmount lock must be held for read
328
*/
329
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
330
{
331
#ifdef CONFIG_SMP
332
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1920,7 +1920,8 @@ static int do_umount_root(struct super_block *sb)
1920
return ret;
1921
}
1922
1923
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1924
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1925
1926
struct super_block *sb = mnt->mnt.mnt_sb;
1927
int retval;
0 commit comments