fs: fix do_mount_root() false positive kmemcheck warning
authorVegard Nossum <vegard.nossum@gmail.com>
Sat, 16 May 2009 09:26:20 +0000 (11:26 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 13:49:42 +0000 (15:49 +0200)
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: Vegard Nossum <vegard.nossum@gmail.com>

No differences found