Skip to content
Commit 3b5c760e authored by Vegard Nossum's avatar Vegard Nossum
Browse files

fs: fix do_mount_root() false positive kmemcheck warning



This false positive is due to the fact that do_mount_root() fakes a
mount option (which is normally read from userspace), and the kernel
unconditionally reads a whole page for the mount option.

Hide the false positive by using the new __getname_gfp() with the
__GFP_NOTRACK_FALSE_POSITIVE flag.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
parent 3446a8aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment