]> git.baikalelectronics.ru Git - kernel.git/commit
fs/namespace.c: make to_mnt_ns() static
authorEric Biggers <ebiggers@google.com>
Sat, 4 Jan 2020 20:59:55 +0000 (12:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 Jan 2020 21:55:09 +0000 (13:55 -0800)
commite641a2e09e6dbf616d0dbd8513ea9d341aecd878
treecb3ca4c2c06c2536a5e706011bff5ac76b00244e
parent1fb64c62527c1a212fc42d22201d9115660b95b1
fs/namespace.c: make to_mnt_ns() static

Make to_mnt_ns() static to address the following 'sparse' warning:

    fs/namespace.c:1731:22: warning: symbol 'to_mnt_ns' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20191209234830.156260-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namespace.c