]> git.baikalelectronics.ru Git - kernel.git/commit
fs/nsfs.c: include headers for missing declarations
authorEric Biggers <ebiggers@google.com>
Sat, 4 Jan 2020 20:59:52 +0000 (12:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 Jan 2020 21:55:09 +0000 (13:55 -0800)
commit1fb64c62527c1a212fc42d22201d9115660b95b1
tree4d8ce6c756e4ad50209cc9827c107ca499490ef3
parent5555e446865ae9f6411dc42998e93611e87287d9
fs/nsfs.c: include headers for missing declarations

Include linux/proc_fs.h and fs/internal.h to address the following
'sparse' warnings:

    fs/nsfs.c:41:32: warning: symbol 'ns_dentry_operations' was not declared. Should it be static?
    fs/nsfs.c:145:5: warning: symbol 'open_related_ns' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20191209234822.156179-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/nsfs.c