| Date | Wed, 5 Aug 2020 16:17:50 +0800 | From | kernel test robot <> | Subject | [RFC PATCH] fs: namespaces_dentry_operations can be static |
| |
Signed-off-by: kernel test robot <lkp@intel.com> --- namespaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/namespaces.c b/fs/proc/namespaces.c index ab47e15556197..63f27f66a96a4 100644 --- a/fs/proc/namespaces.c +++ b/fs/proc/namespaces.c @@ -182,7 +182,7 @@ static int namespace_delete_dentry(const struct dentry *dentry) return 0; } -const struct dentry_operations namespaces_dentry_operations = { +static const struct dentry_operations namespaces_dentry_operations = { .d_delete = namespace_delete_dentry, };
|