Re: [PATCH] fs/namespace: make to_mnt_ns static

2019-10-09 Thread Eric Biggers
On Wed, Oct 09, 2019 at 03:52:11PM +0100, Ben Dooks wrote: > The to_mnt_ns() is not exported outside the file so > make it static to fix the following sparse warning: > > fs/namespace.c:1731:22: warning: symbol 'to_mnt_ns' was not declared. Should > it be static? > > Signed-off-by: Ben Dooks >

[PATCH] fs/namespace: make to_mnt_ns static

2019-10-09 Thread Ben Dooks
The to_mnt_ns() is not exported outside the file so make it static to fix the following sparse warning: fs/namespace.c:1731:22: warning: symbol 'to_mnt_ns' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org Cc:

[PATCH] fs: namespace: Make to_mnt_ns() static

2019-03-19 Thread Mao Wenan
Fix sparse warning: fs/namespace.c:1735:22: warning: symbol 'to_mnt_ns' was not declared. Should it be static? Signed-off-by: Mao Wenan --- fs/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/namespace.c b/fs/namespace.c index c9cab30..b39a3ec 100644 ---